#242F71#242F71
#242F71 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.114 H 271.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).
Color values
| HEX | #242F71 |
|---|---|
| RGB | rgb(36, 47, 113) |
| HSL | hsl(231, 52%, 29%) |
| HSV | hsv(231, 68%, 44%) |
| CMYK | cmyk(68.1%, 58.4%, 0%, 55.7%) |
| CIE-LAB | lab(22.30, 18.74, -39.65) |
| CIE-LCH | lch(22.30, 43.85, 295.29°) |
| OKLab | oklab(33.74% 0.0035 -0.114) |
| OKLCH | oklch(33.74% 0.114 271.7) |
| XYZ | xyz(4.7237, 3.5999, 16.0655) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.41
Midnight Blue
#191970
ΔE00 6.77
Marine Blue
#01386A
ΔE00 7.19
Darkslateblue
#483D8B
ΔE00 7.33
Navy Blue
#1B2A4A
ΔE00 7.54
Blueberry
#464196
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F71 #716624
analogous
#245671 #242F71 #402471
triadic
#242F71 #71242F #2F7124
tetradic
#242F71 #712456 #716624 #247140
square
#242F71 #712456 #716624 #247140
split-complementary
#242F71 #714024 #567124
monochromatic
#070A17 #151C43 #242F71 #33429F #4A5CC5
Accessibility & contrast
On white
12.21
#242F71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#242F71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F71
12.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F71 | 1.00 | 12.21 | 1.72 | 12.21 |
| #FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #242f71; /* rgb */ color: rgb(36, 47, 113); /* oklch */ color: oklch(33.7% 0.114 271.7);
Tailwind
colors: {
custom: {
50: '#68679a',
500: '#242f71',
950: '#000000',
},
}SCSS
$custom: #242f71; $custom-light: #68679a; $custom-dark: #000000;
JSON
{
"hex": "#242f71",
"rgb": {
"r": 36,
"g": 47,
"b": 113
},
"hsl": {
"h": 231.429,
"s": 51.678,
"l": 29.216
},
"oklch": {
"l": 0.33741,
"c": 0.11403,
"h": 271.7
},
"luminance": 0.036
}Semantic roles & 50–950 ramp
primary
#242F71
secondary
#A4984D
accent
#C74DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E