#2B2189#2B2189
#2B2189 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.163 H 277.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2189 |
|---|---|
| RGB | rgb(43, 33, 137) |
| HSL | hsl(246, 61%, 33%) |
| HSV | hsv(246, 76%, 54%) |
| CMYK | cmyk(68.6%, 75.9%, 0%, 46.3%) |
| CIE-LAB | lab(21.60, 37.59, -55.98) |
| CIE-LCH | lch(21.60, 67.43, 303.88°) |
| OKLab | oklab(34.05% 0.0215 -0.1617) |
| OKLCH | oklch(34.05% 0.163 277.6) |
| XYZ | xyz(6.0540, 3.4069, 24.0006) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.32
Midnight Blue
#191970
ΔE00 4.48
Indigo (survey)
#380282
ΔE00 5.64
Cobalt Blue
#030AA7
ΔE00 5.74
Darkblue
#00008B
ΔE00 6.14
Indigo Blue
#3A18B1
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2189 #7F8921
analogous
#214B89 #2B2189 #5F2189
triadic
#2B2189 #892B21 #21892B
tetradic
#2B2189 #89214B #7F8921 #21895F
square
#2B2189 #89214B #7F8921 #21895F
split-complementary
#2B2189 #895F21 #4B8921
monochromatic
#0C0926 #1C1558 #2B2189 #3A2DBA #5C50D5
Accessibility & contrast
On white
12.49
#2B2189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#2B2189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2189
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2189 | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2b2189; /* rgb */ color: rgb(43, 33, 137); /* oklch */ color: oklch(34.0% 0.163 277.6);
Tailwind
colors: {
custom: {
50: '#725ead',
500: '#2b2189',
950: '#000000',
},
}SCSS
$custom: #2b2189; $custom-light: #725ead; $custom-dark: #000000;
JSON
{
"hex": "#2b2189",
"rgb": {
"r": 43,
"g": 33,
"b": 137
},
"hsl": {
"h": 245.769,
"s": 61.176,
"l": 33.333
},
"oklch": {
"l": 0.34047,
"c": 0.16312,
"h": 277.6
},
"luminance": 0.03407
}Semantic roles & 50–950 ramp
primary
#2B2189
secondary
#AEB84E
accent
#E444D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F