#242EA1#242EA1
#242EA1 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.182 H 270.5°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #242EA1 |
|---|---|
| RGB | rgb(36, 46, 161) |
| HSL | hsl(235, 63%, 39%) |
| HSV | hsv(235, 78%, 63%) |
| CMYK | cmyk(77.6%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(26.45, 37.37, -62.80) |
| CIE-LCH | lch(26.45, 73.07, 300.76°) |
| OKLab | oklab(38.14% 0.0015 -0.1818) |
| OKLCH | oklch(38.14% 0.182 270.5) |
| XYZ | xyz(8.1354, 4.9014, 34.2286) |
| Luminance | 0.0490 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.09
Royal
#0C1793
ΔE00 5.73
Indigo Blue
#3A18B1
ΔE00 5.80
Blueberry
#464196
ΔE00 6.75
Cobalt Blue
#030AA7
ΔE00 6.88
True Blue
#010FCC
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#242EA1 #A19724
analogous
#246CA1 #242EA1 #5824A1
triadic
#242EA1 #A1242E #2EA124
tetradic
#242EA1 #A1246C #A19724 #24A158
square
#242EA1 #A1246C #A19724 #24A158
split-complementary
#242EA1 #A15824 #6CA124
monochromatic
#0E113D #19206F #242EA1 #313ED1 #636DDC
Accessibility & contrast
On white
10.60
#242EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#242EA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #242EA1
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##242EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##242EA1 | 1.00 | 10.60 | 1.98 | 10.60 |
| #FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #242ea1; /* rgb */ color: rgb(36, 46, 161); /* oklch */ color: oklch(38.1% 0.182 270.5);
Tailwind
colors: {
custom: {
50: '#7467be',
500: '#242ea1',
950: '#000000',
},
}SCSS
$custom: #242ea1; $custom-light: #7467be; $custom-dark: #000000;
JSON
{
"hex": "#242ea1",
"rgb": {
"r": 36,
"g": 46,
"b": 161
},
"hsl": {
"h": 235.2,
"s": 63.452,
"l": 38.627
},
"oklch": {
"l": 0.38137,
"c": 0.18182,
"h": 270.5
},
"luminance": 0.04902
}Semantic roles & 50–950 ramp
primary
#242EA1
secondary
#C2BA5F
accent
#D941E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81