#242F85#242F85
#242F85 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.143 H 271.4°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #242F85 |
|---|---|
| RGB | rgb(36, 47, 133) |
| HSL | hsl(233, 57%, 33%) |
| HSV | hsv(233, 73%, 52%) |
| CMYK | cmyk(72.9%, 64.7%, 0%, 47.8%) |
| CIE-LAB | lab(24.00, 26.40, -49.56) |
| CIE-LCH | lch(24.00, 56.15, 298.04°) |
| OKLab | oklab(35.53% 0.0034 -0.1431) |
| OKLCH | oklch(35.53% 0.143 271.4) |
| XYZ | xyz(5.9763, 4.1010, 22.6624) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 6.34
Midnight Blue
#191970
ΔE00 6.42
Blueberry
#464196
ΔE00 6.64
Royal
#0C1793
ΔE00 6.84
Marine
#042E60
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F85 #857A24
analogous
#245F85 #242F85 #492485
triadic
#242F85 #85242F #2F8524
tetradic
#242F85 #85245F #857A24 #248549
square
#242F85 #85245F #857A24 #248549
split-complementary
#242F85 #854924 #5F8524
monochromatic
#0A0D25 #171E55 #242F85 #3140B5 #5361D0
Accessibility & contrast
On white
11.54
#242F85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#242F85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F85
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F85 | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #242f85; /* rgb */ color: rgb(36, 47, 133); /* oklch */ color: oklch(35.5% 0.143 271.4);
Tailwind
colors: {
custom: {
50: '#6d67a9',
500: '#242f85',
950: '#000000',
},
}SCSS
$custom: #242f85; $custom-light: #6d67a9; $custom-dark: #000000;
JSON
{
"hex": "#242f85",
"rgb": {
"r": 36,
"g": 47,
"b": 133
},
"hsl": {
"h": 233.196,
"s": 57.396,
"l": 33.137
},
"oklch": {
"l": 0.35535,
"c": 0.14313,
"h": 271.4
},
"luminance": 0.04102
}Semantic roles & 50–950 ramp
primary
#242F85
secondary
#B4A950
accent
#CF47E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F