#2A22A4#2A22A4
#2A22A4 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.1% C 0.196 H 273.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2A22A4 |
|---|---|
| RGB | rgb(42, 34, 164) |
| HSL | hsl(244, 66%, 39%) |
| HSV | hsv(244, 79%, 64%) |
| CMYK | cmyk(74.4%, 79.3%, 0%, 35.7%) |
| CIE-LAB | lab(24.69, 45.78, -67.52) |
| CIE-LCH | lch(24.69, 81.57, 304.14°) |
| OKLab | oklab(37.08% 0.0133 -0.1953) |
| OKLCH | oklch(37.08% 0.196 273.9) |
| XYZ | xyz(8.2255, 4.3158, 35.5143) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.02
Royal
#0C1793
ΔE00 3.90
Cobalt Blue
#030AA7
ΔE00 4.14
Ultramarine
#2000B1
ΔE00 4.49
Royal Blue (survey)
#0504AA
ΔE00 4.56
True Blue
#010FCC
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A22A4 #9CA422
analogous
#225BA4 #2A22A4 #6B22A4
triadic
#2A22A4 #A42A22 #22A42A
tetradic
#2A22A4 #A4225B #9CA422 #22A46B
square
#2A22A4 #A4225B #9CA422 #22A46B
split-complementary
#2A22A4 #A46B22 #5BA422
monochromatic
#100D3F #1D1771 #2A22A4 #392FD4 #6A62DE
Accessibility & contrast
On white
11.27
#2A22A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2A22A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A22A4
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A22A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A22A4 | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A8
Deuteranopia (green-blind)
#0034A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a22a4; /* rgb */ color: rgb(42, 34, 164); /* oklch */ color: oklch(37.1% 0.196 273.9);
Tailwind
colors: {
custom: {
50: '#7860c0',
500: '#2a22a4',
950: '#000000',
},
}SCSS
$custom: #2a22a4; $custom-light: #7860c0; $custom-dark: #000000;
JSON
{
"hex": "#2a22a4",
"rgb": {
"r": 42,
"g": 34,
"b": 164
},
"hsl": {
"h": 243.692,
"s": 65.657,
"l": 38.824
},
"oklch": {
"l": 0.37076,
"c": 0.19577,
"h": 273.9
},
"luminance": 0.04317
}Semantic roles & 50–950 ramp
primary
#2A22A4
secondary
#BDC45E
accent
#E93FDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981