Hex Color #18BAFC - Custom Color

Color Codes

HEX
#18BAFC
RGB
rgb(24, 186, 252)
HSL
hsl(197, 97%, 54%)
CMYK
cmyk(90%, 26%, 0%, 1%)
HSV
hsv(197, 90%, 99%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 2.22:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 9.47:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #18BAFC;
color: #18BAFC;
border-color: #18BAFC;
}

Tailwind CSS (with arbitrary values)

bg-[#18BAFC]
text-[#18BAFC]
border-[#18BAFC]
// Example usage:
<div className="bg-[#18BAFC]">