#2B2387#2B2387
#2B2387 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.158 H 277.5°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2387 |
|---|---|
| RGB | rgb(43, 35, 135) |
| HSL | hsl(245, 59%, 33%) |
| HSV | hsv(245, 74%, 53%) |
| CMYK | cmyk(68.1%, 74.1%, 0%, 47.1%) |
| CIE-LAB | lab(21.82, 35.75, -54.38) |
| CIE-LCH | lch(21.82, 65.08, 303.32°) |
| OKLab | oklab(34.13% 0.0206 -0.157) |
| OKLCH | oklch(34.13% 0.158 277.5) |
| XYZ | xyz(5.9690, 3.4644, 23.2711) |
| Luminance | 0.0347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.80
Midnight Blue
#191970
ΔE00 4.37
Indigo (survey)
#380282
ΔE00 6.14
Cobalt Blue
#030AA7
ΔE00 6.31
Indigo Blue
#3A18B1
ΔE00 6.65
Darkblue
#00008B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2387 #7F8723
analogous
#234D87 #2B2387 #5D2387
triadic
#2B2387 #872B23 #23872B
tetradic
#2B2387 #87234D #7F8723 #23875D
square
#2B2387 #87234D #7F8723 #23875D
split-complementary
#2B2387 #875D23 #4D8723
monochromatic
#0C0A26 #1C1656 #2B2387 #3A30B8 #5C52D2
Accessibility & contrast
On white
12.40
#2B2387 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#2B2387 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2387
12.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2387 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2387 | 1.00 | 12.40 | 1.69 | 12.40 |
| #FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003085
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #2b2387; /* rgb */ color: rgb(43, 35, 135); /* oklch */ color: oklch(34.1% 0.158 277.5);
Tailwind
colors: {
custom: {
50: '#725fab',
500: '#2b2387',
950: '#000000',
},
}SCSS
$custom: #2b2387; $custom-light: #725fab; $custom-dark: #000000;
JSON
{
"hex": "#2b2387",
"rgb": {
"r": 43,
"g": 35,
"b": 135
},
"hsl": {
"h": 244.8,
"s": 58.824,
"l": 33.333
},
"oklch": {
"l": 0.34134,
"c": 0.15838,
"h": 277.5
},
"luminance": 0.03465
}Semantic roles & 50–950 ramp
primary
#2B2387
secondary
#AEB650
accent
#E246D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F