#2A20B3#2A20B3
#2A20B3 is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.6% C 0.215 H 272.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2A20B3 |
|---|---|
| RGB | rgb(42, 32, 179) |
| HSL | hsl(244, 70%, 41%) |
| HSV | hsv(244, 82%, 70%) |
| CMYK | cmyk(76.5%, 82.1%, 0%, 29.8%) |
| CIE-LAB | lab(26.10, 51.45, -74.22) |
| CIE-LCH | lch(26.10, 90.31, 304.73°) |
| OKLab | oklab(38.56% 0.0103 -0.2147) |
| OKLCH | oklch(38.56% 0.215 272.8) |
| XYZ | xyz(9.6053, 4.7789, 43.0553) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.02
True Blue
#010FCC
ΔE00 3.44
Ultramarine
#2000B1
ΔE00 3.97
Mediumblue
#0000CD
ΔE00 4.15
Cobalt Blue
#030AA7
ΔE00 4.36
Royal Blue (survey)
#0504AA
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A20B3 #A9B320
analogous
#2060B3 #2A20B3 #7420B3
triadic
#2A20B3 #B32A20 #20B32A
tetradic
#2A20B3 #B32060 #A9B320 #20B374
square
#2A20B3 #B32060 #A9B320 #20B374
split-complementary
#2A20B3 #B37420 #60B320
monochromatic
#120D4B #1E177F #2A20B3 #4135DB #7269E4
Accessibility & contrast
On white
10.74
#2A20B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2A20B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A20B3
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A20B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A20B3 | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045B7
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a20b3; /* rgb */ color: rgb(42, 32, 179); /* oklch */ color: oklch(38.6% 0.215 272.8);
Tailwind
colors: {
custom: {
50: '#7c60cb',
500: '#2a20b3',
950: '#000000',
},
}SCSS
$custom: #2a20b3; $custom-light: #7c60cb; $custom-dark: #000000;
JSON
{
"hex": "#2a20b3",
"rgb": {
"r": 42,
"g": 32,
"b": 179
},
"hsl": {
"h": 244.082,
"s": 69.668,
"l": 41.373
},
"oklch": {
"l": 0.3856,
"c": 0.21497,
"h": 272.8
},
"luminance": 0.0478
}Semantic roles & 50–950 ramp
primary
#2A20B3
secondary
#C3CA65
accent
#EC3BE0
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0B0514
muted
#7C7982