#242F8A#242F8A
#242F8A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.150 H 271.2°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).
Color values
| HEX | #242F8A |
|---|---|
| RGB | rgb(36, 47, 138) |
| HSL | hsl(234, 59%, 34%) |
| HSV | hsv(234, 74%, 54%) |
| CMYK | cmyk(73.9%, 65.9%, 0%, 45.9%) |
| CIE-LAB | lab(24.46, 28.29, -51.93) |
| CIE-LCH | lch(24.46, 59.14, 298.58°) |
| OKLab | oklab(36.01% 0.0031 -0.1501) |
| OKLCH | oklch(36.01% 0.15 271.2) |
| XYZ | xyz(6.3300, 4.2424, 24.5251) |
| Luminance | 0.0424 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.14
Darkslateblue
#483D8B
ΔE00 6.34
Royal
#0C1793
ΔE00 6.43
Blueberry
#464196
ΔE00 6.46
Midnight Blue
#191970
ΔE00 6.66
Marine
#042E60
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F8A #8A7F24
analogous
#24628A #242F8A #4C248A
triadic
#242F8A #8A242F #2F8A24
tetradic
#242F8A #8A2462 #8A7F24 #248A4C
square
#242F8A #8A2462 #8A7F24 #248A4C
split-complementary
#242F8A #8A4C24 #628A24
monochromatic
#0B0E29 #171E59 #242F8A #3140BB #5663D3
Accessibility & contrast
On white
11.36
#242F8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#242F8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F8A
11.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F8A | 1.00 | 11.36 | 1.85 | 11.36 |
| #FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #242f8a; /* rgb */ color: rgb(36, 47, 138); /* oklch */ color: oklch(36.0% 0.150 271.2);
Tailwind
colors: {
custom: {
50: '#6e67ad',
500: '#242f8a',
950: '#000000',
},
}SCSS
$custom: #242f8a; $custom-light: #6e67ad; $custom-dark: #000000;
JSON
{
"hex": "#242f8a",
"rgb": {
"r": 36,
"g": 47,
"b": 138
},
"hsl": {
"h": 233.529,
"s": 58.621,
"l": 34.118
},
"oklch": {
"l": 0.36009,
"c": 0.15009,
"h": 271.2
},
"luminance": 0.04243
}Semantic roles & 50–950 ramp
primary
#242F8A
secondary
#B7AC53
accent
#D146E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F