#242E89#242E89
#242E89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.150 H 271.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #242E89 |
|---|---|
| RGB | rgb(36, 46, 137) |
| HSL | hsl(234, 58%, 34%) |
| HSV | hsv(234, 74%, 54%) |
| CMYK | cmyk(73.7%, 66.4%, 0%, 46.3%) |
| CIE-LAB | lab(24.11, 28.58, -51.88) |
| CIE-LCH | lch(24.11, 59.23, 298.85°) |
| OKLab | oklab(35.73% 0.0039 -0.1499) |
| OKLCH | oklch(35.73% 0.15 271.5) |
| XYZ | xyz(6.2184, 4.1346, 24.1324) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.38
Royal
#0C1793
ΔE00 6.20
Midnight Blue
#191970
ΔE00 6.35
Darkslateblue
#483D8B
ΔE00 6.45
Blueberry
#464196
ΔE00 6.65
Marine
#042E60
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242E89 #897F24
analogous
#246189 #242E89 #4D2489
triadic
#242E89 #89242E #2E8924
tetradic
#242E89 #892461 #897F24 #24894D
square
#242E89 #892461 #897F24 #24894D
split-complementary
#242E89 #894D24 #618924
monochromatic
#0B0D28 #171E59 #242E89 #313EB9 #5561D2
Accessibility & contrast
On white
11.49
#242E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#242E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242E89
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242E89 | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #242e89; /* rgb */ color: rgb(36, 46, 137); /* oklch */ color: oklch(35.7% 0.150 271.5);
Tailwind
colors: {
custom: {
50: '#6e67ac',
500: '#242e89',
950: '#000000',
},
}SCSS
$custom: #242e89; $custom-light: #6e67ac; $custom-dark: #000000;
JSON
{
"hex": "#242e89",
"rgb": {
"r": 36,
"g": 46,
"b": 137
},
"hsl": {
"h": 234.059,
"s": 58.382,
"l": 33.922
},
"oklch": {
"l": 0.35727,
"c": 0.14995,
"h": 271.5
},
"luminance": 0.04135
}Semantic roles & 50–950 ramp
primary
#242E89
secondary
#B7AD52
accent
#D246E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F