#242F88#242F88
#242F88 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.147 H 271.3°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #242F88 |
|---|---|
| RGB | rgb(36, 47, 136) |
| HSL | hsl(233, 58%, 34%) |
| HSV | hsv(233, 74%, 53%) |
| CMYK | cmyk(73.5%, 65.4%, 0%, 46.7%) |
| CIE-LAB | lab(24.27, 27.53, -50.99) |
| CIE-LCH | lch(24.27, 57.95, 298.37°) |
| OKLab | oklab(35.82% 0.0032 -0.1473) |
| OKLCH | oklch(35.82% 0.147 271.3) |
| XYZ | xyz(6.1865, 4.1850, 23.7695) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.41
Darkslateblue
#483D8B
ΔE00 6.33
Blueberry
#464196
ΔE00 6.52
Midnight Blue
#191970
ΔE00 6.55
Royal
#0C1793
ΔE00 6.58
Marine
#042E60
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F88 #887D24
analogous
#246188 #242F88 #4B2488
triadic
#242F88 #88242F #2F8824
tetradic
#242F88 #882461 #887D24 #24884B
square
#242F88 #882461 #887D24 #24884B
split-complementary
#242F88 #884B24 #618824
monochromatic
#0A0E27 #171E58 #242F88 #3140B8 #5562D2
Accessibility & contrast
On white
11.43
#242F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#242F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F88
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F88 | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #242f88; /* rgb */ color: rgb(36, 47, 136); /* oklch */ color: oklch(35.8% 0.147 271.3);
Tailwind
colors: {
custom: {
50: '#6e67ac',
500: '#242f88',
950: '#000000',
},
}SCSS
$custom: #242f88; $custom-light: #6e67ac; $custom-dark: #000000;
JSON
{
"hex": "#242f88",
"rgb": {
"r": 36,
"g": 47,
"b": 136
},
"hsl": {
"h": 233.4,
"s": 58.14,
"l": 33.725
},
"oklch": {
"l": 0.35818,
"c": 0.14733,
"h": 271.3
},
"luminance": 0.04186
}Semantic roles & 50–950 ramp
primary
#242F88
secondary
#B6AB52
accent
#D046E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F