#242F7E#242F7E
#242F7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.133 H 271.6°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #242F7E |
|---|---|
| RGB | rgb(36, 47, 126) |
| HSL | hsl(233, 56%, 32%) |
| HSV | hsv(233, 71%, 49%) |
| CMYK | cmyk(71.4%, 62.7%, 0%, 50.6%) |
| CIE-LAB | lab(23.38, 23.73, -46.16) |
| CIE-LCH | lch(23.38, 51.91, 297.21°) |
| OKLab | oklab(34.89% 0.0036 -0.1331) |
| OKLCH | oklch(34.89% 0.133 271.6) |
| XYZ | xyz(5.5087, 3.9139, 20.1998) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.50
Sapphire (survey)
#2138AB
ΔE00 6.85
Marine
#042E60
ΔE00 6.86
Blueberry
#464196
ΔE00 7.05
Royal
#0C1793
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F7E #7E7324
analogous
#245C7E #242F7E #46247E
triadic
#242F7E #7E242F #2F7E24
tetradic
#242F7E #7E245C #7E7324 #247E46
square
#242F7E #7E245C #7E7324 #247E46
split-complementary
#242F7E #7E4624 #5C7E24
monochromatic
#090B1F #161D4E #242F7E #3241AE #505FCD
Accessibility & contrast
On white
11.78
#242F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#242F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F7E
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F7E | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #242f7e; /* rgb */ color: rgb(36, 47, 126); /* oklch */ color: oklch(34.9% 0.133 271.6);
Tailwind
colors: {
custom: {
50: '#6c67a4',
500: '#242f7e',
950: '#000000',
},
}SCSS
$custom: #242f7e; $custom-light: #6c67a4; $custom-dark: #000000;
JSON
{
"hex": "#242f7e",
"rgb": {
"r": 36,
"g": 47,
"b": 126
},
"hsl": {
"h": 232.667,
"s": 55.556,
"l": 31.765
},
"oklch": {
"l": 0.34887,
"c": 0.13318,
"h": 271.6
},
"luminance": 0.03914
}Semantic roles & 50–950 ramp
primary
#242F7E
secondary
#B0A44E
accent
#CD49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F