#242F82#242F82
#242F82 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.139 H 271.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).
Color values
| HEX | #242F82 |
|---|---|
| RGB | rgb(36, 47, 130) |
| HSL | hsl(233, 57%, 33%) |
| HSV | hsv(233, 72%, 51%) |
| CMYK | cmyk(72.3%, 63.8%, 0%, 49%) |
| CIE-LAB | lab(23.73, 25.26, -48.11) |
| CIE-LCH | lch(23.73, 54.34, 297.70°) |
| OKLab | oklab(35.25% 0.0035 -0.1388) |
| OKLCH | oklch(35.25% 0.139 271.4) |
| XYZ | xyz(5.7720, 4.0192, 21.5864) |
| Luminance | 0.0402 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.26
Midnight Blue
#191970
ΔE00 6.33
Darkslateblue
#483D8B
ΔE00 6.39
Blueberry
#464196
ΔE00 6.80
Royal
#0C1793
ΔE00 7.13
Marine
#042E60
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F82 #827724
analogous
#245E82 #242F82 #482482
triadic
#242F82 #82242F #2F8224
tetradic
#242F82 #82245E #827724 #248248
square
#242F82 #82245E #827724 #248248
split-complementary
#242F82 #824824 #5E8224
monochromatic
#090C22 #171E52 #242F82 #3140B2 #5160CF
Accessibility & contrast
On white
11.64
#242F82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#242F82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F82
11.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F82 | 1.00 | 11.64 | 1.80 | 11.64 |
| #FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #242f82; /* rgb */ color: rgb(36, 47, 130); /* oklch */ color: oklch(35.3% 0.139 271.4);
Tailwind
colors: {
custom: {
50: '#6d67a7',
500: '#242f82',
950: '#000000',
},
}SCSS
$custom: #242f82; $custom-light: #6d67a7; $custom-dark: #000000;
JSON
{
"hex": "#242f82",
"rgb": {
"r": 36,
"g": 47,
"b": 130
},
"hsl": {
"h": 232.979,
"s": 56.627,
"l": 32.549
},
"oklch": {
"l": 0.35254,
"c": 0.13889,
"h": 271.4
},
"luminance": 0.0402
}Semantic roles & 50–950 ramp
primary
#242F82
secondary
#B3A74F
accent
#CE48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F