#2E22A3#2E22A3
#2E22A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.194 H 275.6°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2E22A3 |
|---|---|
| RGB | rgb(46, 34, 163) |
| HSL | hsl(246, 65%, 39%) |
| HSV | hsv(246, 79%, 64%) |
| CMYK | cmyk(71.8%, 79.1%, 0%, 36.1%) |
| CIE-LAB | lab(24.85, 45.80, -66.63) |
| CIE-LCH | lch(24.85, 80.85, 304.50°) |
| OKLab | oklab(37.23% 0.0189 -0.1926) |
| OKLCH | oklch(37.23% 0.194 275.6) |
| XYZ | xyz(8.3074, 4.3684, 35.0486) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.87
Royal
#0C1793
ΔE00 4.04
Cobalt Blue
#030AA7
ΔE00 4.30
Ultramarine
#2000B1
ΔE00 4.55
Royal Blue (survey)
#0504AA
ΔE00 4.69
True Blue
#010FCC
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E22A3 #97A322
analogous
#2256A3 #2E22A3 #6E22A3
triadic
#2E22A3 #A32E22 #22A32E
tetradic
#2E22A3 #A32256 #97A322 #22A36E
square
#2E22A3 #A32256 #97A322 #22A36E
split-complementary
#2E22A3 #A36E22 #56A322
monochromatic
#110D3E #201770 #2E22A3 #3E2FD4 #6D61DE
Accessibility & contrast
On white
11.21
#2E22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2E22A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E22A3
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E22A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E22A3 | 1.00 | 11.21 | 1.87 | 11.21 |
| #FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2e22a3; /* rgb */ color: rgb(46, 34, 163); /* oklch */ color: oklch(37.2% 0.194 275.6);
Tailwind
colors: {
custom: {
50: '#7a60c0',
500: '#2e22a3',
950: '#000000',
},
}SCSS
$custom: #2e22a3; $custom-light: #7a60c0; $custom-dark: #000000;
JSON
{
"hex": "#2e22a3",
"rgb": {
"r": 46,
"g": 34,
"b": 163
},
"hsl": {
"h": 245.581,
"s": 65.482,
"l": 38.627
},
"oklch": {
"l": 0.3723,
"c": 0.19356,
"h": 275.6
},
"luminance": 0.04369
}Semantic roles & 50–950 ramp
primary
#2E22A3
secondary
#BAC35E
accent
#E83FD9
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981