#242187#242187
#242187 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.162 H 274.4°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #242187 |
|---|---|
| RGB | rgb(36, 33, 135) |
| HSL | hsl(242, 61%, 33%) |
| HSV | hsv(242, 76%, 53%) |
| CMYK | cmyk(73.3%, 75.6%, 0%, 47.1%) |
| CIE-LAB | lab(20.87, 36.13, -55.95) |
| CIE-LCH | lch(20.87, 66.60, 302.85°) |
| OKLab | oklab(33.33% 0.0124 -0.1618) |
| OKLCH | oklch(33.33% 0.162 274.4) |
| XYZ | xyz(5.6431, 3.2115, 23.2395) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.13
Midnight Blue
#191970
ΔE00 3.94
Cobalt Blue
#030AA7
ΔE00 5.89
Darkblue
#00008B
ΔE00 6.05
Indigo (survey)
#380282
ΔE00 6.14
Navy
#000080
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242187 #848721
analogous
#215187 #242187 #572187
triadic
#242187 #872421 #218724
tetradic
#242187 #872151 #848721 #218757
square
#242187 #872151 #848721 #218757
split-complementary
#242187 #875721 #518721
monochromatic
#0A0925 #171556 #242187 #312DB8 #524FD4
Accessibility & contrast
On white
12.79
#242187 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#242187 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242187
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242187 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242187 | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378A
Deuteranopia (green-blind)
#002D85
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #242187; /* rgb */ color: rgb(36, 33, 135); /* oklch */ color: oklch(33.3% 0.162 274.4);
Tailwind
colors: {
custom: {
50: '#6f5eab',
500: '#242187',
950: '#000000',
},
}SCSS
$custom: #242187; $custom-light: #6f5eab; $custom-dark: #000000;
JSON
{
"hex": "#242187",
"rgb": {
"r": 36,
"g": 33,
"b": 135
},
"hsl": {
"h": 241.765,
"s": 60.714,
"l": 32.941
},
"oklch": {
"l": 0.33329,
"c": 0.16228,
"h": 274.4
},
"luminance": 0.03212
}Semantic roles & 50–950 ramp
primary
#242187
secondary
#B4B74D
accent
#E444DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F