#242F87#242F87
#242F87 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.146 H 271.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #242F87 |
|---|---|
| RGB | rgb(36, 47, 135) |
| HSL | hsl(233, 58%, 34%) |
| HSV | hsv(233, 73%, 53%) |
| CMYK | cmyk(73.3%, 65.2%, 0%, 47.1%) |
| CIE-LAB | lab(24.18, 27.16, -50.51) |
| CIE-LCH | lch(24.18, 57.35, 298.26°) |
| OKLab | oklab(35.72% 0.0033 -0.1459) |
| OKLCH | oklch(35.72% 0.146 271.3) |
| XYZ | xyz(6.1158, 4.1568, 23.3970) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 6.33
Midnight Blue
#191970
ΔE00 6.50
Blueberry
#464196
ΔE00 6.56
Royal
#0C1793
ΔE00 6.66
Marine
#042E60
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F87 #877C24
analogous
#246087 #242F87 #4A2487
triadic
#242F87 #87242F #2F8724
tetradic
#242F87 #872460 #877C24 #24874A
square
#242F87 #872460 #877C24 #24874A
split-complementary
#242F87 #874A24 #608724
monochromatic
#0A0D26 #171E57 #242F87 #3140B7 #5462D1
Accessibility & contrast
On white
11.47
#242F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#242F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F87
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F87 | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003585
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #242f87; /* rgb */ color: rgb(36, 47, 135); /* oklch */ color: oklch(35.7% 0.146 271.3);
Tailwind
colors: {
custom: {
50: '#6e67ab',
500: '#242f87',
950: '#000000',
},
}SCSS
$custom: #242f87; $custom-light: #6e67ab; $custom-dark: #000000;
JSON
{
"hex": "#242f87",
"rgb": {
"r": 36,
"g": 47,
"b": 135
},
"hsl": {
"h": 233.333,
"s": 57.895,
"l": 33.529
},
"oklch": {
"l": 0.35723,
"c": 0.14594,
"h": 271.3
},
"luminance": 0.04157
}Semantic roles & 50–950 ramp
primary
#242F87
secondary
#B5AA51
accent
#D047E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F