#242C8A#242C8A
#242C8A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.154 H 271.9°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).
Color values
| HEX | #242C8A |
|---|---|
| RGB | rgb(36, 44, 138) |
| HSL | hsl(235, 59%, 34%) |
| HSV | hsv(235, 74%, 54%) |
| CMYK | cmyk(73.9%, 68.1%, 0%, 45.9%) |
| CIE-LAB | lab(23.71, 30.28, -53.16) |
| CIE-LCH | lch(23.71, 61.18, 299.66°) |
| OKLab | oklab(35.46% 0.0052 -0.1537) |
| OKLCH | oklch(35.46% 0.154 271.9) |
| XYZ | xyz(6.2141, 4.0108, 24.4865) |
| Luminance | 0.0401 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.52
Royal
#0C1793
ΔE00 5.54
Midnight Blue
#191970
ΔE00 5.95
Darkslateblue
#483D8B
ΔE00 6.73
Blueberry
#464196
ΔE00 6.99
Indigo Blue
#3A18B1
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242C8A #8A8224
analogous
#245F8A #242C8A #4F248A
triadic
#242C8A #8A242C #2C8A24
tetradic
#242C8A #8A245F #8A8224 #248A4F
square
#242C8A #8A245F #8A8224 #248A4F
split-complementary
#242C8A #8A4F24 #5F8A24
monochromatic
#0B0D29 #171D59 #242C8A #313BBB #565FD3
Accessibility & contrast
On white
11.65
#242C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#242C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242C8A
11.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242C8A | 1.00 | 11.65 | 1.80 | 11.65 |
| #FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #242c8a; /* rgb */ color: rgb(36, 44, 138); /* oklch */ color: oklch(35.5% 0.154 271.9);
Tailwind
colors: {
custom: {
50: '#6f65ad',
500: '#242c8a',
950: '#000000',
},
}SCSS
$custom: #242c8a; $custom-light: #6f65ad; $custom-dark: #000000;
JSON
{
"hex": "#242c8a",
"rgb": {
"r": 36,
"g": 44,
"b": 138
},
"hsl": {
"h": 235.294,
"s": 58.621,
"l": 34.118
},
"oklch": {
"l": 0.35461,
"c": 0.15377,
"h": 271.9
},
"luminance": 0.04011
}Semantic roles & 50–950 ramp
primary
#242C8A
secondary
#B7AF53
accent
#D646E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F