#242AA9#242AA9
#242AA9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.196 H 270.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #242AA9 |
|---|---|
| RGB | rgb(36, 42, 169) |
| HSL | hsl(237, 65%, 40%) |
| HSV | hsv(237, 79%, 66%) |
| CMYK | cmyk(78.7%, 75.1%, 0%, 33.7%) |
| CIE-LAB | lab(26.43, 42.56, -67.67) |
| CIE-LCH | lch(26.43, 79.94, 302.17°) |
| OKLab | oklab(38.37% 0.0021 -0.196) |
| OKLCH | oklch(38.37% 0.196 270.6) |
| XYZ | xyz(8.7145, 4.8946, 38.0139) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.92
Indigo Blue
#3A18B1
ΔE00 4.36
Royal
#0C1793
ΔE00 5.33
True Blue
#010FCC
ΔE00 5.67
Cobalt Blue
#030AA7
ΔE00 5.77
Ultramarine
#2000B1
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242AA9 #A9A324
analogous
#246DA9 #242AA9 #6024A9
triadic
#242AA9 #A9242A #2AA924
tetradic
#242AA9 #A9246D #A9A324 #24A960
square
#242AA9 #A9246D #A9A324 #24A960
split-complementary
#242AA9 #A96024 #6DA924
monochromatic
#0F1144 #191D77 #242AA9 #363DD4 #686EDF
Accessibility & contrast
On white
10.61
#242AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#242AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242AA9
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242AA9 | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #242aa9; /* rgb */ color: rgb(36, 42, 169); /* oklch */ color: oklch(38.4% 0.196 270.6);
Tailwind
colors: {
custom: {
50: '#7765c4',
500: '#242aa9',
950: '#000000',
},
}SCSS
$custom: #242aa9; $custom-light: #7765c4; $custom-dark: #000000;
JSON
{
"hex": "#242aa9",
"rgb": {
"r": 36,
"g": 42,
"b": 169
},
"hsl": {
"h": 237.293,
"s": 64.878,
"l": 40.196
},
"oklch": {
"l": 0.38373,
"c": 0.19598,
"h": 270.6
},
"luminance": 0.04896
}Semantic roles & 50–950 ramp
primary
#242AA9
secondary
#C5C064
accent
#E040E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82