#2B2186#2B2186
#2B2186 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.159 H 278.0°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2186 |
|---|---|
| RGB | rgb(43, 33, 134) |
| HSL | hsl(246, 60%, 33%) |
| HSV | hsv(246, 75%, 53%) |
| CMYK | cmyk(67.9%, 75.4%, 0%, 47.5%) |
| CIE-LAB | lab(21.29, 36.59, -54.62) |
| CIE-LCH | lch(21.29, 65.74, 303.82°) |
| OKLab | oklab(33.73% 0.0221 -0.1577) |
| OKLCH | oklch(33.73% 0.159 278) |
| XYZ | xyz(5.8418, 3.3220, 22.8830) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.58
Midnight Blue
#191970
ΔE00 4.11
Indigo (survey)
#380282
ΔE00 5.65
Cobalt Blue
#030AA7
ΔE00 6.11
Darkblue
#00008B
ΔE00 6.23
Navy
#000080
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2186 #7C8621
analogous
#214986 #2B2186 #5E2186
triadic
#2B2186 #862B21 #21862B
tetradic
#2B2186 #862149 #7C8621 #21865E
square
#2B2186 #862149 #7C8621 #21865E
split-complementary
#2B2186 #865E21 #498621
monochromatic
#0B0924 #1B1555 #2B2186 #3B2DB7 #5B4ED3
Accessibility & contrast
On white
12.62
#2B2186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2B2186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2186
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2186 | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2b2186; /* rgb */ color: rgb(43, 33, 134); /* oklch */ color: oklch(33.7% 0.159 278.0);
Tailwind
colors: {
custom: {
50: '#725eaa',
500: '#2b2186',
950: '#000000',
},
}SCSS
$custom: #2b2186; $custom-light: #725eaa; $custom-dark: #000000;
JSON
{
"hex": "#2b2186",
"rgb": {
"r": 43,
"g": 33,
"b": 134
},
"hsl": {
"h": 245.941,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.3373,
"c": 0.15926,
"h": 278
},
"luminance": 0.03323
}Semantic roles & 50–950 ramp
primary
#2B2186
secondary
#ACB74C
accent
#E444D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F