#242D7B#242D7B
#242D7B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.132 H 272.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #242D7B |
|---|---|
| RGB | rgb(36, 45, 123) |
| HSL | hsl(234, 55%, 31%) |
| HSV | hsv(234, 71%, 48%) |
| CMYK | cmyk(70.7%, 63.4%, 0%, 51.8%) |
| CIE-LAB | lab(22.59, 23.97, -45.56) |
| CIE-LCH | lch(22.59, 51.48, 297.74°) |
| OKLab | oklab(34.22% 0.0054 -0.1314) |
| OKLCH | oklch(34.22% 0.132 272.3) |
| XYZ | xyz(5.2399, 3.6814, 19.1695) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.66
Darkslateblue
#483D8B
ΔE00 6.80
Marine
#042E60
ΔE00 6.88
Royal
#0C1793
ΔE00 7.36
Sapphire (survey)
#2138AB
ΔE00 7.43
Blueberry
#464196
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242D7B #7B7224
analogous
#24587B #242D7B #46247B
triadic
#242D7B #7B242D #2D7B24
tetradic
#242D7B #7B2458 #7B7224 #247B46
square
#242D7B #7B2458 #7B7224 #247B46
split-complementary
#242D7B #7B4624 #587B24
monochromatic
#080A1C #161C4C #242D7B #323EAA #4E5BCB
Accessibility & contrast
On white
12.09
#242D7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#242D7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242D7B
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242D7B | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #242d7b; /* rgb */ color: rgb(36, 45, 123); /* oklch */ color: oklch(34.2% 0.132 272.3);
Tailwind
colors: {
custom: {
50: '#6b65a2',
500: '#242d7b',
950: '#000000',
},
}SCSS
$custom: #242d7b; $custom-light: #6b65a2; $custom-dark: #000000;
JSON
{
"hex": "#242d7b",
"rgb": {
"r": 36,
"g": 45,
"b": 123
},
"hsl": {
"h": 233.793,
"s": 54.717,
"l": 31.176
},
"oklch": {
"l": 0.34217,
"c": 0.1315,
"h": 272.3
},
"luminance": 0.03682
}Semantic roles & 50–950 ramp
primary
#242D7B
secondary
#ADA34D
accent
#CF4ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F