#2B2085#2B2085
#2B2085 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.159 H 278.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2085 |
|---|---|
| RGB | rgb(43, 32, 133) |
| HSL | hsl(247, 61%, 32%) |
| HSV | hsv(247, 76%, 52%) |
| CMYK | cmyk(67.7%, 75.9%, 0%, 47.8%) |
| CIE-LAB | lab(20.98, 36.83, -54.50) |
| CIE-LCH | lch(20.98, 65.78, 304.05°) |
| OKLab | oklab(33.48% 0.023 -0.1574) |
| OKLCH | oklch(33.48% 0.159 278.3) |
| XYZ | xyz(5.7450, 3.2396, 22.5083) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.54
Midnight Blue
#191970
ΔE00 3.94
Indigo (survey)
#380282
ΔE00 5.41
Darkblue
#00008B
ΔE00 6.05
Cobalt Blue
#030AA7
ΔE00 6.08
Navy
#000080
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2085 #7A8520
analogous
#204785 #2B2085 #5E2085
triadic
#2B2085 #852B20 #20852B
tetradic
#2B2085 #852047 #7A8520 #20855E
square
#2B2085 #852047 #7A8520 #20855E
split-complementary
#2B2085 #855E20 #478520
monochromatic
#0B0822 #1B1454 #2B2085 #3B2CB6 #5A4CD4
Accessibility & contrast
On white
12.74
#2B2085 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#2B2085 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2085
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2085 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2085 | 1.00 | 12.74 | 1.65 | 12.74 |
| #FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2b2085; /* rgb */ color: rgb(43, 32, 133); /* oklch */ color: oklch(33.5% 0.159 278.3);
Tailwind
colors: {
custom: {
50: '#725daa',
500: '#2b2085',
950: '#000000',
},
}SCSS
$custom: #2b2085; $custom-light: #725daa; $custom-dark: #000000;
JSON
{
"hex": "#2b2085",
"rgb": {
"r": 43,
"g": 32,
"b": 133
},
"hsl": {
"h": 246.535,
"s": 61.212,
"l": 32.353
},
"oklch": {
"l": 0.33478,
"c": 0.15905,
"h": 278.3
},
"luminance": 0.0324
}Semantic roles & 50–950 ramp
primary
#2B2085
secondary
#ABB74A
accent
#E443D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F