#241F7D#241F7D
#241F7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.151 H 275.9°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).
Color values
| HEX | #241F7D |
|---|---|
| RGB | rgb(36, 31, 125) |
| HSL | hsl(243, 60%, 31%) |
| HSV | hsv(243, 75%, 49%) |
| CMYK | cmyk(71.2%, 75.2%, 0%, 51%) |
| CIE-LAB | lab(19.37, 33.85, -52.11) |
| CIE-LCH | lch(19.37, 62.14, 303.01°) |
| OKLab | oklab(31.94% 0.0155 -0.1506) |
| OKLCH | oklch(31.94% 0.151 275.9) |
| XYZ | xyz(4.9180, 2.8353, 19.6861) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.52
Royal
#0C1793
ΔE00 4.05
Dark Royal Blue
#02066F
ΔE00 5.78
Indigo (survey)
#380282
ΔE00 5.97
Navy
#000080
ΔE00 6.13
Deep Blue
#040273
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#241F7D #787D1F
analogous
#1F497D #241F7D #531F7D
triadic
#241F7D #7D241F #1F7D24
tetradic
#241F7D #7D1F49 #787D1F #1F7D53
square
#241F7D #7D1F49 #787D1F #1F7D53
split-complementary
#241F7D #7D531F #497D1F
monochromatic
#08071B #16134C #241F7D #322BAE #4D45D1
Accessibility & contrast
On white
13.40
#241F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#241F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #241F7D
13.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##241F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##241F7D | 1.00 | 13.40 | 1.57 | 13.40 |
| #FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #241f7d; /* rgb */ color: rgb(36, 31, 125); /* oklch */ color: oklch(31.9% 0.151 275.9);
Tailwind
colors: {
custom: {
50: '#6d5ca4',
500: '#241f7d',
950: '#000000',
},
}SCSS
$custom: #241f7d; $custom-light: #6d5ca4; $custom-dark: #000000;
JSON
{
"hex": "#241f7d",
"rgb": {
"r": 36,
"g": 31,
"b": 125
},
"hsl": {
"h": 243.191,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.31941,
"c": 0.15139,
"h": 275.9
},
"luminance": 0.02836
}Semantic roles & 50–950 ramp
primary
#241F7D
secondary
#ABB048
accent
#E344DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F