#242F70#242F70
#242F70 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.113 H 271.7°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).
Color values
| HEX | #242F70 |
|---|---|
| RGB | rgb(36, 47, 112) |
| HSL | hsl(231, 51%, 29%) |
| HSV | hsv(231, 68%, 44%) |
| CMYK | cmyk(67.9%, 58%, 0%, 56.1%) |
| CIE-LAB | lab(22.22, 18.35, -39.13) |
| CIE-LCH | lch(22.22, 43.22, 295.12°) |
| OKLab | oklab(33.66% 0.0034 -0.1125) |
| OKLCH | oklch(33.66% 0.113 271.7) |
| XYZ | xyz(4.6677, 3.5775, 15.7706) |
| Luminance | 0.0358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.32
Midnight Blue
#191970
ΔE00 6.85
Marine Blue
#01386A
ΔE00 7.15
Navy Blue
#1B2A4A
ΔE00 7.39
Darkslateblue
#483D8B
ΔE00 7.42
Blueberry
#464196
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F70 #706524
analogous
#245570 #242F70 #3F2470
triadic
#242F70 #70242F #2F7024
tetradic
#242F70 #702455 #706524 #24703F
square
#242F70 #702455 #706524 #24703F
split-complementary
#242F70 #703F24 #557024
monochromatic
#070A17 #151C42 #242F70 #33429E #4A5BC5
Accessibility & contrast
On white
12.24
#242F70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#242F70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F70
12.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F70 | 1.00 | 12.24 | 1.72 | 12.24 |
| #FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#00326F
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #242f70; /* rgb */ color: rgb(36, 47, 112); /* oklch */ color: oklch(33.7% 0.113 271.7);
Tailwind
colors: {
custom: {
50: '#68679a',
500: '#242f70',
950: '#000000',
},
}SCSS
$custom: #242f70; $custom-light: #68679a; $custom-dark: #000000;
JSON
{
"hex": "#242f70",
"rgb": {
"r": 36,
"g": 47,
"b": 112
},
"hsl": {
"h": 231.316,
"s": 51.351,
"l": 29.02
},
"oklch": {
"l": 0.33656,
"c": 0.11252,
"h": 271.7
},
"luminance": 0.03578
}Semantic roles & 50–950 ramp
primary
#242F70
secondary
#A3974D
accent
#C64DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E