#2A22A3#2A22A3
#2A22A3 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.195 H 274.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2A22A3 |
|---|---|
| RGB | rgb(42, 34, 163) |
| HSL | hsl(244, 65%, 39%) |
| HSV | hsv(244, 79%, 64%) |
| CMYK | cmyk(74.2%, 79.1%, 0%, 36.1%) |
| CIE-LAB | lab(24.58, 45.46, -67.10) |
| CIE-LCH | lch(24.58, 81.05, 304.12°) |
| OKLab | oklab(36.96% 0.0136 -0.1941) |
| OKLCH | oklch(36.96% 0.195 274) |
| XYZ | xyz(8.1355, 4.2798, 35.0406) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.11
Royal
#0C1793
ΔE00 3.81
Cobalt Blue
#030AA7
ΔE00 4.15
Ultramarine
#2000B1
ΔE00 4.54
Royal Blue (survey)
#0504AA
ΔE00 4.58
True Blue
#010FCC
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A22A3 #9BA322
analogous
#225AA3 #2A22A3 #6A22A3
triadic
#2A22A3 #A32A22 #22A32A
tetradic
#2A22A3 #A3225A #9BA322 #22A36A
square
#2A22A3 #A3225A #9BA322 #22A36A
split-complementary
#2A22A3 #A36A22 #5AA322
monochromatic
#100D3E #1D1770 #2A22A3 #392FD4 #6961DE
Accessibility & contrast
On white
11.31
#2A22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2A22A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A22A3
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A22A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A22A3 | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0034A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a22a3; /* rgb */ color: rgb(42, 34, 163); /* oklch */ color: oklch(37.0% 0.195 274.0);
Tailwind
colors: {
custom: {
50: '#7860c0',
500: '#2a22a3',
950: '#000000',
},
}SCSS
$custom: #2a22a3; $custom-light: #7860c0; $custom-dark: #000000;
JSON
{
"hex": "#2a22a3",
"rgb": {
"r": 42,
"g": 34,
"b": 163
},
"hsl": {
"h": 243.721,
"s": 65.482,
"l": 38.627
},
"oklch": {
"l": 0.36963,
"c": 0.19457,
"h": 274
},
"luminance": 0.04281
}Semantic roles & 50–950 ramp
primary
#2A22A3
secondary
#BDC35E
accent
#E83FDE
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981