#242C8E#242C8E
#242C8E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.159 H 271.7°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #242C8E |
|---|---|
| RGB | rgb(36, 44, 142) |
| HSL | hsl(235, 60%, 35%) |
| HSV | hsv(235, 75%, 56%) |
| CMYK | cmyk(74.6%, 69%, 0%, 44.3%) |
| CIE-LAB | lab(24.09, 31.75, -55.02) |
| CIE-LCH | lch(24.09, 63.52, 299.99°) |
| OKLab | oklab(35.86% 0.0048 -0.1591) |
| OKLCH | oklch(35.86% 0.159 271.7) |
| XYZ | xyz(6.5091, 4.1288, 26.0398) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.07
Royal
#0C1793
ΔE00 5.30
Midnight Blue
#191970
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.80
Blueberry
#464196
ΔE00 6.92
Indigo Blue
#3A18B1
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242C8E #8E8624
analogous
#24618E #242C8E #51248E
triadic
#242C8E #8E242C #2C8E24
tetradic
#242C8E #8E2461 #8E8624 #248E51
square
#242C8E #8E2461 #8E8624 #248E51
split-complementary
#242C8E #8E5124 #618E24
monochromatic
#0B0E2C #181D5D #242C8E #303BBF #5861D5
Accessibility & contrast
On white
11.50
#242C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#242C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242C8E
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242C8E | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #242c8e; /* rgb */ color: rgb(36, 44, 142); /* oklch */ color: oklch(35.9% 0.159 271.7);
Tailwind
colors: {
custom: {
50: '#7065b0',
500: '#242c8e',
950: '#000000',
},
}SCSS
$custom: #242c8e; $custom-light: #7065b0; $custom-dark: #000000;
JSON
{
"hex": "#242c8e",
"rgb": {
"r": 36,
"g": 44,
"b": 142
},
"hsl": {
"h": 235.472,
"s": 59.551,
"l": 34.902
},
"oklch": {
"l": 0.35859,
"c": 0.15917,
"h": 271.7
},
"luminance": 0.04129
}Semantic roles & 50–950 ramp
primary
#242C8E
secondary
#B9B155
accent
#D745E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80