#2E22A7#2E22A7
#2E22A7 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.7% C 0.198 H 275.2°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2E22A7 |
|---|---|
| RGB | rgb(46, 34, 167) |
| HSL | hsl(245, 66%, 39%) |
| HSV | hsv(245, 80%, 65%) |
| CMYK | cmyk(72.5%, 79.6%, 0%, 34.5%) |
| CIE-LAB | lab(25.30, 47.06, -68.31) |
| CIE-LCH | lch(25.30, 82.95, 304.56°) |
| OKLab | oklab(37.68% 0.0178 -0.1975) |
| OKLCH | oklch(37.68% 0.198 275.2) |
| XYZ | xyz(8.6715, 4.5141, 36.9660) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.51
Cobalt Blue
#030AA7
ΔE00 4.32
Ultramarine
#2000B1
ΔE00 4.40
Royal
#0C1793
ΔE00 4.41
Royal Blue (survey)
#0504AA
ΔE00 4.67
True Blue
#010FCC
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E22A7 #9BA722
analogous
#2258A7 #2E22A7 #7122A7
triadic
#2E22A7 #A72E22 #22A72E
tetradic
#2E22A7 #A72258 #9BA722 #22A771
square
#2E22A7 #A72258 #9BA722 #22A771
split-complementary
#2E22A7 #A77122 #58A722
monochromatic
#120D41 #201874 #2E22A7 #4031D5 #6F64DF
Accessibility & contrast
On white
11.04
#2E22A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2E22A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E22A7
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E22A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E22A7 | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2e22a7; /* rgb */ color: rgb(46, 34, 167); /* oklch */ color: oklch(37.7% 0.198 275.2);
Tailwind
colors: {
custom: {
50: '#7a61c2',
500: '#2e22a7',
950: '#000000',
},
}SCSS
$custom: #2e22a7; $custom-light: #7a61c2; $custom-dark: #000000;
JSON
{
"hex": "#2e22a7",
"rgb": {
"r": 46,
"g": 34,
"b": 167
},
"hsl": {
"h": 245.414,
"s": 66.169,
"l": 39.412
},
"oklch": {
"l": 0.37676,
"c": 0.19833,
"h": 275.2
},
"luminance": 0.04515
}Semantic roles & 50–950 ramp
primary
#2E22A7
secondary
#BCC560
accent
#E93FDA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982