#242E7E#242E7E
#242E7E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.134 H 271.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #242E7E |
|---|---|
| RGB | rgb(36, 46, 126) |
| HSL | hsl(233, 56%, 32%) |
| HSV | hsv(233, 71%, 49%) |
| CMYK | cmyk(71.4%, 63.5%, 0%, 50.6%) |
| CIE-LAB | lab(23.12, 24.42, -46.60) |
| CIE-LCH | lch(23.12, 52.61, 297.66°) |
| OKLab | oklab(34.69% 0.0044 -0.1344) |
| OKLCH | oklch(34.69% 0.134 271.9) |
| XYZ | xyz(5.4692, 3.8349, 20.1866) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 6.59
Sapphire (survey)
#2138AB
ΔE00 6.92
Marine
#042E60
ΔE00 7.04
Blueberry
#464196
ΔE00 7.18
Royal
#0C1793
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242E7E #7E7424
analogous
#245B7E #242E7E #47247E
triadic
#242E7E #7E242E #2E7E24
tetradic
#242E7E #7E245B #7E7424 #247E47
square
#242E7E #7E245B #7E7424 #247E47
split-complementary
#242E7E #7E4724 #5B7E24
monochromatic
#090B1F #161D4E #242E7E #323FAE #505DCD
Accessibility & contrast
On white
11.88
#242E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#242E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242E7E
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242E7E | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #242e7e; /* rgb */ color: rgb(36, 46, 126); /* oklch */ color: oklch(34.7% 0.134 271.9);
Tailwind
colors: {
custom: {
50: '#6c66a4',
500: '#242e7e',
950: '#000000',
},
}SCSS
$custom: #242e7e; $custom-light: #6c66a4; $custom-dark: #000000;
JSON
{
"hex": "#242e7e",
"rgb": {
"r": 36,
"g": 46,
"b": 126
},
"hsl": {
"h": 233.333,
"s": 55.556,
"l": 31.765
},
"oklch": {
"l": 0.3469,
"c": 0.13449,
"h": 271.9
},
"luminance": 0.03835
}Semantic roles & 50–950 ramp
primary
#242E7E
secondary
#B0A54E
accent
#CE49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F