#2B3786#2B3786
#2B3786 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.132 H 271.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3786 |
|---|---|
| RGB | rgb(43, 55, 134) |
| HSL | hsl(232, 51%, 35%) |
| HSV | hsv(232, 68%, 53%) |
| CMYK | cmyk(67.9%, 59%, 0%, 47.5%) |
| CIE-LAB | lab(26.64, 22.39, -45.87) |
| CIE-LCH | lch(26.64, 51.04, 296.02°) |
| OKLab | oklab(37.63% 0.0045 -0.132) |
| OKLCH | oklch(37.63% 0.132 271.9) |
| XYZ | xyz(6.6641, 4.9666, 23.1571) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 5.10
Darkslateblue
#483D8B
ΔE00 5.13
Sapphire (survey)
#2138AB
ΔE00 5.55
Cobalt (survey)
#1E488F
ΔE00 6.88
Darkish Blue
#014182
ΔE00 7.12
Marine
#042E60
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3786 #867A2B
analogous
#2B6586 #2B3786 #4D2B86
triadic
#2B3786 #862B37 #37862B
tetradic
#2B3786 #862B65 #867A2B #2B864D
square
#2B3786 #862B65 #867A2B #2B864D
split-complementary
#2B3786 #864D2B #65862B
monochromatic
#0D1129 #1C2458 #2B3786 #3A4AB4 #606ECC
Accessibility & contrast
On white
10.53
#2B3786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2B3786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3786
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3786 | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b3786; /* rgb */ color: rgb(43, 55, 134); /* oklch */ color: oklch(37.6% 0.132 271.9);
Tailwind
colors: {
custom: {
50: '#706daa',
500: '#2b3786',
950: '#000000',
},
}SCSS
$custom: #2b3786; $custom-light: #706daa; $custom-dark: #000000;
JSON
{
"hex": "#2b3786",
"rgb": {
"r": 43,
"g": 55,
"b": 134
},
"hsl": {
"h": 232.088,
"s": 51.412,
"l": 34.706
},
"oklch": {
"l": 0.37628,
"c": 0.13206,
"h": 271.9
},
"luminance": 0.04967
}Semantic roles & 50–950 ramp
primary
#2B3786
secondary
#B2A65B
accent
#C84DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F