#242E9B#242E9B
#242E9B is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.174 H 270.7°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #242E9B |
|---|---|
| RGB | rgb(36, 46, 155) |
| HSL | hsl(235, 62%, 37%) |
| HSV | hsv(235, 77%, 61%) |
| CMYK | cmyk(76.8%, 70.3%, 0%, 39.2%) |
| CIE-LAB | lab(25.85, 35.21, -60.14) |
| CIE-LCH | lch(25.85, 69.69, 300.35°) |
| OKLab | oklab(37.52% 0.0022 -0.174) |
| OKLCH | oklch(37.52% 0.174 270.7) |
| XYZ | xyz(7.6189, 4.6948, 31.5086) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Royal
#0C1793
ΔE00 5.60
Indigo Blue
#3A18B1
ΔE00 6.34
Blueberry
#464196
ΔE00 6.59
Darkslateblue
#483D8B
ΔE00 7.02
Cobalt Blue
#030AA7
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242E9B #9B9124
analogous
#246A9B #242E9B #56249B
triadic
#242E9B #9B242E #2E9B24
tetradic
#242E9B #9B246A #9B9124 #249B56
square
#242E9B #9B246A #9B9124 #249B56
split-complementary
#242E9B #9B5624 #6A9B24
monochromatic
#0D1138 #181F69 #242E9B #303DCD #5F6ADA
Accessibility & contrast
On white
10.83
#242E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#242E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242E9B
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242E9B | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #242e9b; /* rgb */ color: rgb(36, 46, 155); /* oklch */ color: oklch(37.5% 0.174 270.7);
Tailwind
colors: {
custom: {
50: '#7367ba',
500: '#242e9b',
950: '#000000',
},
}SCSS
$custom: #242e9b; $custom-light: #7367ba; $custom-dark: #000000;
JSON
{
"hex": "#242e9b",
"rgb": {
"r": 36,
"g": 46,
"b": 155
},
"hsl": {
"h": 234.958,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.37518,
"c": 0.17406,
"h": 270.7
},
"luminance": 0.04696
}Semantic roles & 50–950 ramp
primary
#242E9B
secondary
#BFB75C
accent
#D842E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81