#242E88#242E88
#242E88 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.149 H 271.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #242E88 |
|---|---|
| RGB | rgb(36, 46, 136) |
| HSL | hsl(234, 58%, 34%) |
| HSV | hsv(234, 74%, 53%) |
| CMYK | cmyk(73.5%, 66.2%, 0%, 46.7%) |
| CIE-LAB | lab(24.02, 28.20, -51.40) |
| CIE-LCH | lch(24.02, 58.63, 298.75°) |
| OKLab | oklab(35.63% 0.004 -0.1485) |
| OKLCH | oklch(35.63% 0.149 271.5) |
| XYZ | xyz(6.1470, 4.1060, 23.7564) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.51
Royal
#0C1793
ΔE00 6.28
Midnight Blue
#191970
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.44
Blueberry
#464196
ΔE00 6.69
Marine
#042E60
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242E88 #887E24
analogous
#246088 #242E88 #4C2488
triadic
#242E88 #88242E #2E8824
tetradic
#242E88 #882460 #887E24 #24884C
square
#242E88 #882460 #887E24 #24884C
split-complementary
#242E88 #884C24 #608824
monochromatic
#0A0D27 #171E58 #242E88 #313EB8 #5561D2
Accessibility & contrast
On white
11.53
#242E88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#242E88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242E88
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242E88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242E88 | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #242e88; /* rgb */ color: rgb(36, 46, 136); /* oklch */ color: oklch(35.6% 0.149 271.5);
Tailwind
colors: {
custom: {
50: '#6e66ac',
500: '#242e88',
950: '#000000',
},
}SCSS
$custom: #242e88; $custom-light: #6e66ac; $custom-dark: #000000;
JSON
{
"hex": "#242e88",
"rgb": {
"r": 36,
"g": 46,
"b": 136
},
"hsl": {
"h": 234,
"s": 58.14,
"l": 33.725
},
"oklch": {
"l": 0.35631,
"c": 0.14857,
"h": 271.5
},
"luminance": 0.04107
}Semantic roles & 50–950 ramp
primary
#242E88
secondary
#B6AC52
accent
#D246E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F