#2B1989#2B1989
#2B1989 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.171 H 278.8°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B1989 |
|---|---|
| RGB | rgb(43, 25, 137) |
| HSL | hsl(250, 69%, 32%) |
| HSV | hsv(250, 82%, 54%) |
| CMYK | cmyk(68.6%, 81.8%, 0%, 46.3%) |
| CIE-LAB | lab(20.10, 41.89, -58.46) |
| CIE-LCH | lch(20.10, 71.92, 305.62°) |
| OKLab | oklab(32.99% 0.026 -0.1688) |
| OKLCH | oklch(32.99% 0.171 278.8) |
| XYZ | xyz(5.8578, 3.0145, 23.9352) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.68
Indigo (survey)
#380282
ΔE00 3.98
Midnight Blue
#191970
ΔE00 4.51
Darkblue
#00008B
ΔE00 4.60
Cobalt Blue
#030AA7
ΔE00 4.79
Navy
#000080
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B1989 #778919
analogous
#193F89 #2B1989 #631989
triadic
#2B1989 #892B19 #19892B
tetradic
#2B1989 #89193F #778919 #198963
square
#2B1989 #89193F #778919 #198963
split-complementary
#2B1989 #896319 #3F8919
monochromatic
#0B0621 #1B1055 #2B1989 #3B22BD #5940DC
Accessibility & contrast
On white
13.10
#2B1989 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2B1989 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B1989
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B1989 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B1989 | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2b1989; /* rgb */ color: rgb(43, 25, 137); /* oklch */ color: oklch(33.0% 0.171 278.8);
Tailwind
colors: {
custom: {
50: '#735aad',
500: '#2b1989',
950: '#000000',
},
}SCSS
$custom: #2b1989; $custom-light: #735aad; $custom-dark: #000000;
JSON
{
"hex": "#2b1989",
"rgb": {
"r": 43,
"g": 25,
"b": 137
},
"hsl": {
"h": 249.643,
"s": 69.136,
"l": 31.765
},
"oklch": {
"l": 0.32993,
"c": 0.17083,
"h": 278.8
},
"luminance": 0.03015
}Semantic roles & 50–950 ramp
primary
#2B1989
secondary
#A9BC41
accent
#EC3CD0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F