#2E24A7#2E24A7
#2E24A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.9% C 0.197 H 275.0°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2E24A7 |
|---|---|
| RGB | rgb(46, 36, 167) |
| HSL | hsl(245, 65%, 40%) |
| HSV | hsv(245, 78%, 65%) |
| CMYK | cmyk(72.5%, 78.4%, 0%, 34.5%) |
| CIE-LAB | lab(25.66, 46.03, -67.72) |
| CIE-LCH | lch(25.66, 81.89, 304.21°) |
| OKLab | oklab(37.92% 0.017 -0.1958) |
| OKLCH | oklch(37.92% 0.197 275) |
| XYZ | xyz(8.7303, 4.6318, 36.9856) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.81
Royal
#0C1793
ΔE00 4.61
Cobalt Blue
#030AA7
ΔE00 4.68
Ultramarine
#2000B1
ΔE00 4.79
Royal Blue (survey)
#0504AA
ΔE00 5.04
True Blue
#010FCC
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E24A7 #9DA724
analogous
#245CA7 #2E24A7 #6F24A7
triadic
#2E24A7 #A72E24 #24A72E
tetradic
#2E24A7 #A7245C #9DA724 #24A76F
square
#2E24A7 #A7245C #9DA724 #24A76F
split-complementary
#2E24A7 #A76F24 #5CA724
monochromatic
#120E42 #201975 #2E24A7 #4135D3 #7067DE
Accessibility & contrast
On white
10.90
#2E24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2E24A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E24A7
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E24A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E24A7 | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2e24a7; /* rgb */ color: rgb(46, 36, 167); /* oklch */ color: oklch(37.9% 0.197 275.0);
Tailwind
colors: {
custom: {
50: '#7a62c2',
500: '#2e24a7',
950: '#000000',
},
}SCSS
$custom: #2e24a7; $custom-light: #7a62c2; $custom-dark: #000000;
JSON
{
"hex": "#2e24a7",
"rgb": {
"r": 46,
"g": 36,
"b": 167
},
"hsl": {
"h": 244.58,
"s": 64.532,
"l": 39.804
},
"oklch": {
"l": 0.37924,
"c": 0.19657,
"h": 275
},
"luminance": 0.04633
}Semantic roles & 50–950 ramp
primary
#2E24A7
secondary
#BDC463
accent
#E840DB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982