#242FB0#242FB0
#242FB0 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.200 H 269.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #242FB0 |
|---|---|
| RGB | rgb(36, 47, 176) |
| HSL | hsl(235, 66%, 42%) |
| HSV | hsv(235, 80%, 69%) |
| CMYK | cmyk(79.5%, 73.3%, 0%, 31%) |
| CIE-LAB | lab(28.23, 42.05, -68.91) |
| CIE-LCH | lch(28.23, 80.73, 301.39°) |
| OKLab | oklab(39.87% -0.0009 -0.1996) |
| OKLCH | oklch(39.87% 0.2 269.7) |
| XYZ | xyz(9.5779, 5.5416, 41.6307) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.80
Indigo Blue
#3A18B1
ΔE00 5.21
Blue Blue
#2242C7
ΔE00 5.94
True Blue
#010FCC
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.60
Royal
#0C1793
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242FB0 #B0A524
analogous
#2475B0 #242FB0 #5F24B0
triadic
#242FB0 #B0242F #2FB024
tetradic
#242FB0 #B02475 #B0A524 #24B05F
square
#242FB0 #B02475 #B0A524 #24B05F
split-complementary
#242FB0 #B05F24 #75B024
monochromatic
#0F144A #1A217D #242FB0 #3A47D7 #6D76E1
Accessibility & contrast
On white
9.96
#242FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#242FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242FB0
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242FB0 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #242fb0; /* rgb */ color: rgb(36, 47, 176); /* oklch */ color: oklch(39.9% 0.200 269.7);
Tailwind
colors: {
custom: {
50: '#7869c9',
500: '#242fb0',
950: '#000000',
},
}SCSS
$custom: #242fb0; $custom-light: #7869c9; $custom-dark: #000000;
JSON
{
"hex": "#242fb0",
"rgb": {
"r": 36,
"g": 47,
"b": 176
},
"hsl": {
"h": 235.286,
"s": 66.038,
"l": 41.569
},
"oklch": {
"l": 0.39873,
"c": 0.19961,
"h": 269.7
},
"luminance": 0.05543
}Semantic roles & 50–950 ramp
primary
#242FB0
secondary
#C8C068
accent
#DC3FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82