#2B22A3#2B22A3
#2B22A3 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.194 H 274.4°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2B22A3 |
|---|---|
| RGB | rgb(43, 34, 163) |
| HSL | hsl(244, 65%, 39%) |
| HSV | hsv(244, 79%, 64%) |
| CMYK | cmyk(73.6%, 79.1%, 0%, 36.1%) |
| CIE-LAB | lab(24.64, 45.54, -66.98) |
| CIE-LCH | lch(24.64, 81.00, 304.21°) |
| OKLab | oklab(37.03% 0.0149 -0.1937) |
| OKLCH | oklch(37.03% 0.194 274.4) |
| XYZ | xyz(8.1770, 4.3012, 35.0425) |
| Luminance | 0.0430 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.05
Royal
#0C1793
ΔE00 3.86
Cobalt Blue
#030AA7
ΔE00 4.18
Ultramarine
#2000B1
ΔE00 4.54
Royal Blue (survey)
#0504AA
ΔE00 4.60
True Blue
#010FCC
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B22A3 #9AA322
analogous
#2259A3 #2B22A3 #6B22A3
triadic
#2B22A3 #A32B22 #22A32B
tetradic
#2B22A3 #A32259 #9AA322 #22A36B
square
#2B22A3 #A32259 #9AA322 #22A36B
split-complementary
#2B22A3 #A36B22 #59A322
monochromatic
#100D3E #1E1770 #2B22A3 #3A2FD4 #6A61DE
Accessibility & contrast
On white
11.29
#2B22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2B22A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B22A3
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B22A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B22A3 | 1.00 | 11.29 | 1.86 | 11.29 |
| #FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A7
Deuteranopia (green-blind)
#0034A1
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b22a3; /* rgb */ color: rgb(43, 34, 163); /* oklch */ color: oklch(37.0% 0.194 274.4);
Tailwind
colors: {
custom: {
50: '#7860c0',
500: '#2b22a3',
950: '#000000',
},
}SCSS
$custom: #2b22a3; $custom-light: #7860c0; $custom-dark: #000000;
JSON
{
"hex": "#2b22a3",
"rgb": {
"r": 43,
"g": 34,
"b": 163
},
"hsl": {
"h": 244.186,
"s": 65.482,
"l": 38.627
},
"oklch": {
"l": 0.37028,
"c": 0.19432,
"h": 274.4
},
"luminance": 0.04302
}Semantic roles & 50–950 ramp
primary
#2B22A3
secondary
#BCC35E
accent
#E83FDD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981