#2B2188#2B2188
#2B2188 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.162 H 277.7°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2188 |
|---|---|
| RGB | rgb(43, 33, 136) |
| HSL | hsl(246, 61%, 33%) |
| HSV | hsv(246, 76%, 53%) |
| CMYK | cmyk(68.4%, 75.7%, 0%, 46.7%) |
| CIE-LAB | lab(21.50, 37.26, -55.53) |
| CIE-LCH | lch(21.50, 66.87, 303.86°) |
| OKLab | oklab(33.94% 0.0217 -0.1604) |
| OKLCH | oklch(33.94% 0.162 277.7) |
| XYZ | xyz(5.9826, 3.3784, 23.6246) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.40
Midnight Blue
#191970
ΔE00 4.35
Indigo (survey)
#380282
ΔE00 5.64
Cobalt Blue
#030AA7
ΔE00 5.86
Darkblue
#00008B
ΔE00 6.17
Indigo Blue
#3A18B1
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2188 #7E8821
analogous
#214A88 #2B2188 #5E2188
triadic
#2B2188 #882B21 #21882B
tetradic
#2B2188 #88214A #7E8821 #21885E
square
#2B2188 #88214A #7E8821 #21885E
split-complementary
#2B2188 #885E21 #4A8821
monochromatic
#0C0925 #1B1557 #2B2188 #3B2DB9 #5C4FD4
Accessibility & contrast
On white
12.53
#2B2188 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2B2188 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2188
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2188 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2188 | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2b2188; /* rgb */ color: rgb(43, 33, 136); /* oklch */ color: oklch(33.9% 0.162 277.7);
Tailwind
colors: {
custom: {
50: '#725eac',
500: '#2b2188',
950: '#000000',
},
}SCSS
$custom: #2b2188; $custom-light: #725eac; $custom-dark: #000000;
JSON
{
"hex": "#2b2188",
"rgb": {
"r": 43,
"g": 33,
"b": 136
},
"hsl": {
"h": 245.825,
"s": 60.947,
"l": 33.137
},
"oklch": {
"l": 0.33941,
"c": 0.16184,
"h": 277.7
},
"luminance": 0.03379
}Semantic roles & 50–950 ramp
primary
#2B2188
secondary
#ADB84D
accent
#E444D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F