Hex Color #124FBC - Custom Color

Color Codes

HEX
#124FBC
RGB
rgb(18, 79, 188)
HSL
hsl(218, 83%, 40%)
CMYK
cmyk(90%, 58%, 0%, 26%)
HSV
hsv(218, 90%, 74%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 2.87:1
Fail - WCAG AA (Normal Text)
Fail - 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: #124FBC;
color: #124FBC;
border-color: #124FBC;
}

Tailwind CSS (with arbitrary values)

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