#2B2086#2B2086
#2B2086 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.160 H 278.2°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2086 |
|---|---|
| RGB | rgb(43, 32, 134) |
| HSL | hsl(246, 61%, 33%) |
| HSV | hsv(246, 76%, 53%) |
| CMYK | cmyk(67.9%, 76.1%, 0%, 47.5%) |
| CIE-LAB | lab(21.08, 37.17, -54.95) |
| CIE-LCH | lch(21.08, 66.34, 304.07°) |
| OKLab | oklab(33.58% 0.0228 -0.1587) |
| OKLCH | oklch(33.58% 0.16 278.2) |
| XYZ | xyz(5.8145, 3.2674, 22.8739) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.44
Midnight Blue
#191970
ΔE00 4.06
Indigo (survey)
#380282
ΔE00 5.40
Cobalt Blue
#030AA7
ΔE00 5.96
Darkblue
#00008B
ΔE00 6.01
Navy
#000080
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2086 #7B8620
analogous
#204886 #2B2086 #5E2086
triadic
#2B2086 #862B20 #20862B
tetradic
#2B2086 #862048 #7B8620 #20865E
square
#2B2086 #862048 #7B8620 #20865E
split-complementary
#2B2086 #865E20 #488620
monochromatic
#0B0823 #1B1455 #2B2086 #3B2CB7 #5B4CD4
Accessibility & contrast
On white
12.70
#2B2086 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#2B2086 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2086
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2086 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2086 | 1.00 | 12.70 | 1.65 | 12.70 |
| #FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b2086; /* rgb */ color: rgb(43, 32, 134); /* oklch */ color: oklch(33.6% 0.160 278.2);
Tailwind
colors: {
custom: {
50: '#725daa',
500: '#2b2086',
950: '#000000',
},
}SCSS
$custom: #2b2086; $custom-light: #725daa; $custom-dark: #000000;
JSON
{
"hex": "#2b2086",
"rgb": {
"r": 43,
"g": 32,
"b": 134
},
"hsl": {
"h": 246.471,
"s": 61.446,
"l": 32.549
},
"oklch": {
"l": 0.33584,
"c": 0.16034,
"h": 278.2
},
"luminance": 0.03268
}Semantic roles & 50–950 ramp
primary
#2B2086
secondary
#ABB74B
accent
#E543D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F