#2B2389#2B2389
#2B2389 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.161 H 277.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2389 |
|---|---|
| RGB | rgb(43, 35, 137) |
| HSL | hsl(245, 59%, 34%) |
| HSV | hsv(245, 74%, 54%) |
| CMYK | cmyk(68.6%, 74.5%, 0%, 46.3%) |
| CIE-LAB | lab(22.02, 36.42, -55.29) |
| CIE-LCH | lch(22.02, 66.21, 303.38°) |
| OKLab | oklab(34.34% 0.0202 -0.1597) |
| OKLCH | oklch(34.34% 0.161 277.2) |
| XYZ | xyz(6.1112, 3.5213, 24.0197) |
| Luminance | 0.0352 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.64
Midnight Blue
#191970
ΔE00 4.60
Cobalt Blue
#030AA7
ΔE00 6.08
Indigo (survey)
#380282
ΔE00 6.13
Indigo Blue
#3A18B1
ΔE00 6.36
Darkblue
#00008B
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2389 #818923
analogous
#234E89 #2B2389 #5E2389
triadic
#2B2389 #892B23 #23892B
tetradic
#2B2389 #89234E #818923 #23895E
square
#2B2389 #89234E #818923 #23895E
split-complementary
#2B2389 #895E23 #4E8923
monochromatic
#0C0A28 #1C1758 #2B2389 #3A2FBA #5D53D3
Accessibility & contrast
On white
12.32
#2B2389 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#2B2389 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2389
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2389 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2389 | 1.00 | 12.32 | 1.70 | 12.32 |
| #FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2b2389; /* rgb */ color: rgb(43, 35, 137); /* oklch */ color: oklch(34.3% 0.161 277.2);
Tailwind
colors: {
custom: {
50: '#725fac',
500: '#2b2389',
950: '#000000',
},
}SCSS
$custom: #2b2389; $custom-light: #725fac; $custom-dark: #000000;
JSON
{
"hex": "#2b2389",
"rgb": {
"r": 43,
"g": 35,
"b": 137
},
"hsl": {
"h": 244.706,
"s": 59.302,
"l": 33.725
},
"oklch": {
"l": 0.34343,
"c": 0.16098,
"h": 277.2
},
"luminance": 0.03522
}Semantic roles & 50–950 ramp
primary
#2B2389
secondary
#AFB751
accent
#E245D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F