#242D7F#242D7F
#242D7F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.137 H 272.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).
Color values
| HEX | #242D7F |
|---|---|
| RGB | rgb(36, 45, 127) |
| HSL | hsl(234, 56%, 32%) |
| HSV | hsv(234, 72%, 50%) |
| CMYK | cmyk(71.7%, 64.6%, 0%, 50.2%) |
| CIE-LAB | lab(22.94, 25.48, -47.51) |
| CIE-LCH | lch(22.94, 53.92, 298.21°) |
| OKLab | oklab(34.59% 0.0052 -0.1371) |
| OKLCH | oklch(34.59% 0.137 272.2) |
| XYZ | xyz(5.4954, 3.7836, 20.5153) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.68
Darkslateblue
#483D8B
ΔE00 6.66
Sapphire (survey)
#2138AB
ΔE00 6.85
Royal
#0C1793
ΔE00 6.87
Blueberry
#464196
ΔE00 7.26
Marine
#042E60
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242D7F #7F7624
analogous
#245B7F #242D7F #49247F
triadic
#242D7F #7F242D #2D7F24
tetradic
#242D7F #7F245B #7F7624 #247F49
square
#242D7F #7F245B #7F7624 #247F49
split-complementary
#242D7F #7F4924 #5B7F24
monochromatic
#090B20 #161C4F #242D7F #323EAF #505CCD
Accessibility & contrast
On white
11.95
#242D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#242D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242D7F
11.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242D7F | 1.00 | 11.95 | 1.76 | 11.95 |
| #FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #242d7f; /* rgb */ color: rgb(36, 45, 127); /* oklch */ color: oklch(34.6% 0.137 272.2);
Tailwind
colors: {
custom: {
50: '#6c66a5',
500: '#242d7f',
950: '#000000',
},
}SCSS
$custom: #242d7f; $custom-light: #6c66a5; $custom-dark: #000000;
JSON
{
"hex": "#242d7f",
"rgb": {
"r": 36,
"g": 45,
"b": 127
},
"hsl": {
"h": 234.066,
"s": 55.828,
"l": 31.961
},
"oklch": {
"l": 0.34588,
"c": 0.13722,
"h": 272.2
},
"luminance": 0.03784
}Semantic roles & 50–950 ramp
primary
#242D7F
secondary
#B1A74E
accent
#D049DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F