#242F89#242F89
#242F89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.149 H 271.2°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #242F89 |
|---|---|
| RGB | rgb(36, 47, 137) |
| HSL | hsl(233, 58%, 34%) |
| HSV | hsv(233, 74%, 54%) |
| CMYK | cmyk(73.7%, 65.7%, 0%, 46.3%) |
| CIE-LAB | lab(24.37, 27.91, -51.46) |
| CIE-LCH | lch(24.37, 58.54, 298.47°) |
| OKLab | oklab(35.91% 0.0032 -0.1487) |
| OKLCH | oklch(35.91% 0.149 271.2) |
| XYZ | xyz(6.2579, 4.2136, 24.1456) |
| Luminance | 0.0421 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.28
Darkslateblue
#483D8B
ΔE00 6.33
Blueberry
#464196
ΔE00 6.49
Royal
#0C1793
ΔE00 6.50
Midnight Blue
#191970
ΔE00 6.60
Marine
#042E60
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F89 #897E24
analogous
#246289 #242F89 #4C2489
triadic
#242F89 #89242F #2F8924
tetradic
#242F89 #892462 #897E24 #24894C
square
#242F89 #892462 #897E24 #24894C
split-complementary
#242F89 #894C24 #628924
monochromatic
#0B0E28 #171E59 #242F89 #3140B9 #5563D2
Accessibility & contrast
On white
11.40
#242F89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#242F89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F89
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F89 | 1.00 | 11.40 | 1.84 | 11.40 |
| #FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #242f89; /* rgb */ color: rgb(36, 47, 137); /* oklch */ color: oklch(35.9% 0.149 271.2);
Tailwind
colors: {
custom: {
50: '#6e67ac',
500: '#242f89',
950: '#000000',
},
}SCSS
$custom: #242f89; $custom-light: #6e67ac; $custom-dark: #000000;
JSON
{
"hex": "#242f89",
"rgb": {
"r": 36,
"g": 47,
"b": 137
},
"hsl": {
"h": 233.465,
"s": 58.382,
"l": 33.922
},
"oklch": {
"l": 0.35913,
"c": 0.14871,
"h": 271.2
},
"luminance": 0.04214
}Semantic roles & 50–950 ramp
primary
#242F89
secondary
#B7AC52
accent
#D146E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F