#242E9E#242E9E
#242E9E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.178 H 270.6°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #242E9E |
|---|---|
| RGB | rgb(36, 46, 158) |
| HSL | hsl(235, 63%, 38%) |
| HSV | hsv(235, 77%, 62%) |
| CMYK | cmyk(77.2%, 70.9%, 0%, 38%) |
| CIE-LAB | lab(26.15, 36.29, -61.47) |
| CIE-LCH | lch(26.15, 71.39, 300.56°) |
| OKLab | oklab(37.83% 0.0019 -0.1779) |
| OKLCH | oklch(37.83% 0.178 270.6) |
| XYZ | xyz(7.8740, 4.7968, 32.8520) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.25
Royal
#0C1793
ΔE00 5.64
Indigo Blue
#3A18B1
ΔE00 6.06
Blueberry
#464196
ΔE00 6.66
Cobalt Blue
#030AA7
ΔE00 6.99
Darkslateblue
#483D8B
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242E9E #9E9424
analogous
#246B9E #242E9E #57249E
triadic
#242E9E #9E242E #2E9E24
tetradic
#242E9E #9E246B #9E9424 #249E57
square
#242E9E #9E246B #9E9424 #249E57
split-complementary
#242E9E #9E5724 #6B9E24
monochromatic
#0D113A #191F6C #242E9E #2F3DD0 #616BDB
Accessibility & contrast
On white
10.72
#242E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#242E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242E9E
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242E9E | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00389C
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #242e9e; /* rgb */ color: rgb(36, 46, 158); /* oklch */ color: oklch(37.8% 0.178 270.6);
Tailwind
colors: {
custom: {
50: '#7467bc',
500: '#242e9e',
950: '#000000',
},
}SCSS
$custom: #242e9e; $custom-light: #7467bc; $custom-dark: #000000;
JSON
{
"hex": "#242e9e",
"rgb": {
"r": 36,
"g": 46,
"b": 158
},
"hsl": {
"h": 235.082,
"s": 62.887,
"l": 38.039
},
"oklch": {
"l": 0.37826,
"c": 0.17796,
"h": 270.6
},
"luminance": 0.04798
}Semantic roles & 50–950 ramp
primary
#242E9E
secondary
#C0B85E
accent
#D842E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81