#2A16A0#2A16A0
#2A16A0 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.3% C 0.200 H 275.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2A16A0 |
|---|---|
| RGB | rgb(42, 22, 160) |
| HSL | hsl(249, 76%, 36%) |
| HSV | hsv(249, 86%, 63%) |
| CMYK | cmyk(73.8%, 86.3%, 0%, 37.3%) |
| CIE-LAB | lab(22.31, 50.12, -69.02) |
| CIE-LCH | lch(22.31, 85.30, 305.98°) |
| OKLab | oklab(35.3% 0.0186 -0.1995) |
| OKLCH | oklch(35.3% 0.2 275.3) |
| XYZ | xyz(7.5848, 3.6034, 33.5467) |
| Luminance | 0.0360 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt Blue
#030AA7
ΔE00 2.48
Royal Blue (survey)
#0504AA
ΔE00 2.82
Ultramarine
#2000B1
ΔE00 2.90
Royal
#0C1793
ΔE00 2.95
Indigo Blue
#3A18B1
ΔE00 2.99
Darkblue
#00008B
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A16A0 #8CA016
analogous
#1647A0 #2A16A0 #6F16A0
triadic
#2A16A0 #A02A16 #16A02A
tetradic
#2A16A0 #A01647 #8CA016 #16A06F
square
#2A16A0 #A01647 #8CA016 #16A06F
split-complementary
#2A16A0 #A06F16 #47A016
monochromatic
#0E0734 #1C0F6A #2A16A0 #381DD6 #614AE6
Accessibility & contrast
On white
12.20
#2A16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2A16A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A16A0
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A16A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A16A0 | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2a16a0; /* rgb */ color: rgb(42, 22, 160); /* oklch */ color: oklch(35.3% 0.200 275.3);
Tailwind
colors: {
custom: {
50: '#785abe',
500: '#2a16a0',
950: '#000000',
},
}SCSS
$custom: #2a16a0; $custom-light: #785abe; $custom-dark: #000000;
JSON
{
"hex": "#2a16a0",
"rgb": {
"r": 42,
"g": 22,
"b": 160
},
"hsl": {
"h": 248.696,
"s": 75.824,
"l": 35.686
},
"oklch": {
"l": 0.35295,
"c": 0.20033,
"h": 275.3
},
"luminance": 0.03604
}Semantic roles & 50–950 ramp
primary
#2A16A0
secondary
#B5C84A
accent
#F235D7
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981