#2B20A3#2B20A3
#2B20A3 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.8% C 0.196 H 274.6°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B20A3 |
|---|---|
| RGB | rgb(43, 32, 163) |
| HSL | hsl(245, 67%, 38%) |
| HSV | hsv(245, 80%, 64%) |
| CMYK | cmyk(73.6%, 80.4%, 0%, 36.1%) |
| CIE-LAB | lab(24.29, 46.56, -67.57) |
| CIE-LCH | lch(24.29, 82.06, 304.57°) |
| OKLab | oklab(36.78% 0.0157 -0.1954) |
| OKLCH | oklch(36.78% 0.196 274.6) |
| XYZ | xyz(8.1214, 4.1902, 35.0240) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.84
Royal
#0C1793
ΔE00 3.66
Cobalt Blue
#030AA7
ΔE00 3.82
Ultramarine
#2000B1
ΔE00 4.16
Royal Blue (survey)
#0504AA
ΔE00 4.23
True Blue
#010FCC
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B20A3 #98A320
analogous
#2056A3 #2B20A3 #6C20A3
triadic
#2B20A3 #A32B20 #20A32B
tetradic
#2B20A3 #A32056 #98A320 #20A36C
square
#2B20A3 #A32056 #98A320 #20A36C
split-complementary
#2B20A3 #A36C20 #56A320
monochromatic
#100C3D #1E1670 #2B20A3 #392BD5 #695EDF
Accessibility & contrast
On white
11.42
#2B20A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2B20A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B20A3
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B20A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B20A3 | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA7
Deuteranopia (green-blind)
#0034A1
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2b20a3; /* rgb */ color: rgb(43, 32, 163); /* oklch */ color: oklch(36.8% 0.196 274.6);
Tailwind
colors: {
custom: {
50: '#795fc0',
500: '#2b20a3',
950: '#000000',
},
}SCSS
$custom: #2b20a3; $custom-light: #795fc0; $custom-dark: #000000;
JSON
{
"hex": "#2b20a3",
"rgb": {
"r": 43,
"g": 32,
"b": 163
},
"hsl": {
"h": 245.038,
"s": 67.179,
"l": 38.235
},
"oklch": {
"l": 0.36782,
"c": 0.19604,
"h": 274.6
},
"luminance": 0.04191
}Semantic roles & 50–950 ramp
primary
#2B20A3
secondary
#BBC45B
accent
#EA3EDC
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0512
muted
#7C7981