Hex Color #124979 - Custom Color
Color Codes
HEX
#124979
RGB
rgb(18, 73, 121)
HSL
hsl(208, 74%, 27%)
CMYK
cmyk(85%, 40%, 0%, 53%)
HSV
hsv(208, 85%, 47%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 9.31:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 2.25: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: #124979;
color: #124979;
border-color: #124979;
}
Tailwind CSS (with arbitrary values)
bg-[#124979]
text-[#124979]
border-[#124979]
// Example usage:
<div className="bg-[#124979]">