#242E8E#242E8E
#242E8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.157 H 271.3°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #242E8E |
|---|---|
| RGB | rgb(36, 46, 142) |
| HSL | hsl(234, 60%, 35%) |
| HSV | hsv(234, 75%, 56%) |
| CMYK | cmyk(74.6%, 67.6%, 0%, 44.3%) |
| CIE-LAB | lab(24.58, 30.44, -54.22) |
| CIE-LCH | lch(24.58, 62.18, 299.32°) |
| OKLab | oklab(36.21% 0.0035 -0.1567) |
| OKLCH | oklch(36.21% 0.157 271.3) |
| XYZ | xyz(6.5854, 4.2814, 26.0653) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.76
Royal
#0C1793
ΔE00 5.88
Darkslateblue
#483D8B
ΔE00 6.52
Blueberry
#464196
ΔE00 6.54
Midnight Blue
#191970
ΔE00 6.70
Indigo Blue
#3A18B1
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242E8E #8E8424
analogous
#24638E #242E8E #4F248E
triadic
#242E8E #8E242E #2E8E24
tetradic
#242E8E #8E2463 #8E8424 #248E4F
square
#242E8E #8E2463 #8E8424 #248E4F
split-complementary
#242E8E #8E4F24 #638E24
monochromatic
#0B0E2C #181E5D #242E8E #303EBF #5864D5
Accessibility & contrast
On white
11.31
#242E8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#242E8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242E8E
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242E8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242E8E | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #242e8e; /* rgb */ color: rgb(36, 46, 142); /* oklch */ color: oklch(36.2% 0.157 271.3);
Tailwind
colors: {
custom: {
50: '#7067b0',
500: '#242e8e',
950: '#000000',
},
}SCSS
$custom: #242e8e; $custom-light: #7067b0; $custom-dark: #000000;
JSON
{
"hex": "#242e8e",
"rgb": {
"r": 36,
"g": 46,
"b": 142
},
"hsl": {
"h": 234.34,
"s": 59.551,
"l": 34.902
},
"oklch": {
"l": 0.36214,
"c": 0.15679,
"h": 271.3
},
"luminance": 0.04282
}Semantic roles & 50–950 ramp
primary
#242E8E
secondary
#B9B055
accent
#D445E3
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80