#242F83#242F83
#242F83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.140 H 271.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #242F83 |
|---|---|
| RGB | rgb(36, 47, 131) |
| HSL | hsl(233, 57%, 33%) |
| HSV | hsv(233, 73%, 51%) |
| CMYK | cmyk(72.5%, 64.1%, 0%, 48.6%) |
| CIE-LAB | lab(23.82, 25.64, -48.59) |
| CIE-LCH | lch(23.82, 54.94, 297.82°) |
| OKLab | oklab(35.35% 0.0035 -0.1403) |
| OKLCH | oklch(35.35% 0.14 271.4) |
| XYZ | xyz(5.8394, 4.0462, 21.9416) |
| Luminance | 0.0405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.11
Midnight Blue
#191970
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.37
Blueberry
#464196
ΔE00 6.74
Royal
#0C1793
ΔE00 7.03
Marine
#042E60
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F83 #837824
analogous
#245E83 #242F83 #492483
triadic
#242F83 #83242F #2F8324
tetradic
#242F83 #83245E #837824 #248349
square
#242F83 #83245E #837824 #248349
split-complementary
#242F83 #834924 #5E8324
monochromatic
#0A0D23 #171E53 #242F83 #3140B3 #5260CF
Accessibility & contrast
On white
11.61
#242F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#242F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F83
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F83 | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #242f83; /* rgb */ color: rgb(36, 47, 131); /* oklch */ color: oklch(35.3% 0.140 271.4);
Tailwind
colors: {
custom: {
50: '#6d67a8',
500: '#242f83',
950: '#000000',
},
}SCSS
$custom: #242f83; $custom-light: #6d67a8; $custom-dark: #000000;
JSON
{
"hex": "#242f83",
"rgb": {
"r": 36,
"g": 47,
"b": 131
},
"hsl": {
"h": 233.053,
"s": 56.886,
"l": 32.745
},
"oklch": {
"l": 0.35347,
"c": 0.14031,
"h": 271.4
},
"luminance": 0.04047
}Semantic roles & 50–950 ramp
primary
#242F83
secondary
#B3A84F
accent
#CE48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F