#2B3386#2B3386
#2B3386 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.137 H 273.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3386 |
|---|---|
| RGB | rgb(43, 51, 134) |
| HSL | hsl(235, 51%, 35%) |
| HSV | hsv(235, 68%, 53%) |
| CMYK | cmyk(67.9%, 61.9%, 0%, 47.5%) |
| CIE-LAB | lab(25.57, 25.10, -47.61) |
| CIE-LCH | lch(25.57, 53.82, 297.80°) |
| OKLab | oklab(36.83% 0.0081 -0.1371) |
| OKLCH | oklch(36.83% 0.137 273.4) |
| XYZ | xyz(6.4817, 4.6019, 23.0963) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.21
Blueberry
#464196
ΔE00 5.47
Sapphire (survey)
#2138AB
ΔE00 5.55
Midnight Blue
#191970
ΔE00 7.48
Royal
#0C1793
ΔE00 7.88
Marine
#042E60
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3386 #867E2B
analogous
#2B6186 #2B3386 #502B86
triadic
#2B3386 #862B33 #33862B
tetradic
#2B3386 #862B61 #867E2B #2B8650
square
#2B3386 #862B61 #867E2B #2B8650
split-complementary
#2B3386 #86502B #61862B
monochromatic
#0D1029 #1C2158 #2B3386 #3A45B4 #6069CC
Accessibility & contrast
On white
10.94
#2B3386 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2B3386 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3386
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3386 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3386 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2b3386; /* rgb */ color: rgb(43, 51, 134); /* oklch */ color: oklch(36.8% 0.137 273.4);
Tailwind
colors: {
custom: {
50: '#706aaa',
500: '#2b3386',
950: '#000000',
},
}SCSS
$custom: #2b3386; $custom-light: #706aaa; $custom-dark: #000000;
JSON
{
"hex": "#2b3386",
"rgb": {
"r": 43,
"g": 51,
"b": 134
},
"hsl": {
"h": 234.725,
"s": 51.412,
"l": 34.706
},
"oklch": {
"l": 0.36833,
"c": 0.13739,
"h": 273.4
},
"luminance": 0.04602
}Semantic roles & 50–950 ramp
primary
#2B3386
secondary
#B2AA5B
accent
#CE4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F