#242E9F#242E9F
#242E9F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.179 H 270.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #242E9F |
|---|---|
| RGB | rgb(36, 46, 159) |
| HSL | hsl(235, 63%, 38%) |
| HSV | hsv(235, 77%, 62%) |
| CMYK | cmyk(77.4%, 71.1%, 0%, 37.6%) |
| CIE-LAB | lab(26.25, 36.65, -61.92) |
| CIE-LCH | lch(26.25, 71.95, 300.62°) |
| OKLab | oklab(37.93% 0.0018 -0.1792) |
| OKLCH | oklch(37.93% 0.179 270.6) |
| XYZ | xyz(7.9604, 4.8314, 33.3072) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.19
Royal
#0C1793
ΔE00 5.67
Indigo Blue
#3A18B1
ΔE00 5.97
Blueberry
#464196
ΔE00 6.69
Cobalt Blue
#030AA7
ΔE00 6.95
Darkslateblue
#483D8B
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242E9F #9F9524
analogous
#246B9F #242E9F #57249F
triadic
#242E9F #9F242E #2E9F24
tetradic
#242E9F #9F246B #9F9524 #249F57
square
#242E9F #9F246B #9F9524 #249F57
split-complementary
#242E9F #9F5724 #6B9F24
monochromatic
#0D113B #19206D #242E9F #303DD0 #626CDB
Accessibility & contrast
On white
10.68
#242E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#242E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242E9F
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242E9F | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #242e9f; /* rgb */ color: rgb(36, 46, 159); /* oklch */ color: oklch(37.9% 0.179 270.6);
Tailwind
colors: {
custom: {
50: '#7467bc',
500: '#242e9f',
950: '#000000',
},
}SCSS
$custom: #242e9f; $custom-light: #7467bc; $custom-dark: #000000;
JSON
{
"hex": "#242e9f",
"rgb": {
"r": 36,
"g": 46,
"b": 159
},
"hsl": {
"h": 235.122,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.37929,
"c": 0.17925,
"h": 270.6
},
"luminance": 0.04832
}Semantic roles & 50–950 ramp
primary
#242E9F
secondary
#C1B95E
accent
#D942E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81