#242D7C#242D7C
#242D7C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.133 H 272.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #242D7C |
|---|---|
| RGB | rgb(36, 45, 124) |
| HSL | hsl(234, 55%, 31%) |
| HSV | hsv(234, 71%, 49%) |
| CMYK | cmyk(71%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(22.68, 24.35, -46.05) |
| CIE-LCH | lch(22.68, 52.09, 297.86°) |
| OKLab | oklab(34.31% 0.0053 -0.1328) |
| OKLCH | oklch(34.31% 0.133 272.3) |
| XYZ | xyz(5.3028, 3.7066, 19.5009) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 6.76
Marine
#042E60
ΔE00 6.99
Royal
#0C1793
ΔE00 7.23
Sapphire (survey)
#2138AB
ΔE00 7.29
Blueberry
#464196
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242D7C #7C7324
analogous
#24597C #242D7C #47247C
triadic
#242D7C #7C242D #2D7C24
tetradic
#242D7C #7C2459 #7C7324 #247C47
square
#242D7C #7C2459 #7C7324 #247C47
split-complementary
#242D7C #7C4724 #597C24
monochromatic
#080B1D #161C4D #242D7C #323EAB #4F5BCC
Accessibility & contrast
On white
12.06
#242D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#242D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242D7C
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242D7C | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #242d7c; /* rgb */ color: rgb(36, 45, 124); /* oklch */ color: oklch(34.3% 0.133 272.3);
Tailwind
colors: {
custom: {
50: '#6b66a3',
500: '#242d7c',
950: '#000000',
},
}SCSS
$custom: #242d7c; $custom-light: #6b66a3; $custom-dark: #000000;
JSON
{
"hex": "#242d7c",
"rgb": {
"r": 36,
"g": 45,
"b": 124
},
"hsl": {
"h": 233.864,
"s": 55,
"l": 31.373
},
"oklch": {
"l": 0.34309,
"c": 0.13294,
"h": 272.3
},
"luminance": 0.03707
}Semantic roles & 50–950 ramp
primary
#242D7C
secondary
#AEA44D
accent
#CF49DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F