#242E90#242E90
#242E90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.160 H 271.2°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).
Color values
| HEX | #242E90 |
|---|---|
| RGB | rgb(36, 46, 144) |
| HSL | hsl(234, 60%, 35%) |
| HSV | hsv(234, 75%, 56%) |
| CMYK | cmyk(75%, 68.1%, 0%, 43.5%) |
| CIE-LAB | lab(24.77, 31.19, -55.14) |
| CIE-LCH | lch(24.77, 63.35, 299.49°) |
| OKLab | oklab(36.41% 0.0034 -0.1595) |
| OKLCH | oklch(36.41% 0.16 271.2) |
| XYZ | xyz(6.7369, 4.3420, 26.8632) |
| Luminance | 0.0434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.53
Royal
#0C1793
ΔE00 5.78
Blueberry
#464196
ΔE00 6.52
Darkslateblue
#483D8B
ΔE00 6.57
Midnight Blue
#191970
ΔE00 6.86
Indigo Blue
#3A18B1
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242E90 #908624
analogous
#246490 #242E90 #502490
triadic
#242E90 #90242E #2E9024
tetradic
#242E90 #902464 #908624 #249050
square
#242E90 #902464 #908624 #249050
split-complementary
#242E90 #905024 #649024
monochromatic
#0C0F2E #181E5F #242E90 #303EC1 #5964D5
Accessibility & contrast
On white
11.24
#242E90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#242E90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242E90
11.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242E90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242E90 | 1.00 | 11.24 | 1.87 | 11.24 |
| #FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #242e90; /* rgb */ color: rgb(36, 46, 144); /* oklch */ color: oklch(36.4% 0.160 271.2);
Tailwind
colors: {
custom: {
50: '#7067b1',
500: '#242e90',
950: '#000000',
},
}SCSS
$custom: #242e90; $custom-light: #7067b1; $custom-dark: #000000;
JSON
{
"hex": "#242e90",
"rgb": {
"r": 36,
"g": 46,
"b": 144
},
"hsl": {
"h": 234.444,
"s": 60,
"l": 35.294
},
"oklch": {
"l": 0.36411,
"c": 0.1595,
"h": 271.2
},
"luminance": 0.04343
}Semantic roles & 50–950 ramp
primary
#242E90
secondary
#BAB156
accent
#D445E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80