#242F9F#242F9F
#242F9F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.178 H 270.4°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).
Color values
| HEX | #242F9F |
|---|---|
| RGB | rgb(36, 47, 159) |
| HSL | hsl(235, 63%, 38%) |
| HSV | hsv(235, 77%, 62%) |
| CMYK | cmyk(77.4%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(26.48, 36.03, -61.54) |
| CIE-LCH | lch(26.48, 71.31, 300.35°) |
| OKLab | oklab(38.1% 0.0013 -0.1781) |
| OKLCH | oklch(38.1% 0.178 270.4) |
| XYZ | xyz(7.9999, 4.9104, 33.3204) |
| Luminance | 0.0491 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.96
Royal
#0C1793
ΔE00 5.93
Indigo Blue
#3A18B1
ΔE00 6.20
Blueberry
#464196
ΔE00 6.51
Darkslateblue
#483D8B
ΔE00 7.11
Cobalt Blue
#030AA7
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242F9F #9F9424
analogous
#246C9F #242F9F #56249F
triadic
#242F9F #9F242F #2F9F24
tetradic
#242F9F #9F246C #9F9424 #249F56
square
#242F9F #9F246C #9F9424 #249F56
split-complementary
#242F9F #9F5624 #6C9F24
monochromatic
#0D113B #19206D #242F9F #303ED0 #626DDB
Accessibility & contrast
On white
10.59
#242F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#242F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242F9F
10.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242F9F | 1.00 | 10.59 | 1.98 | 10.59 |
| #FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #242f9f; /* rgb */ color: rgb(36, 47, 159); /* oklch */ color: oklch(38.1% 0.178 270.4);
Tailwind
colors: {
custom: {
50: '#7468bc',
500: '#242f9f',
950: '#000000',
},
}SCSS
$custom: #242f9f; $custom-light: #7468bc; $custom-dark: #000000;
JSON
{
"hex": "#242f9f",
"rgb": {
"r": 36,
"g": 47,
"b": 159
},
"hsl": {
"h": 234.634,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.38095,
"c": 0.17814,
"h": 270.4
},
"luminance": 0.04911
}Semantic roles & 50–950 ramp
primary
#242F9F
secondary
#C1B85E
accent
#D742E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81