#2B3791#2B3791
#2B3791 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.148 H 271.7°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3791 |
|---|---|
| RGB | rgb(43, 55, 145) |
| HSL | hsl(233, 54%, 37%) |
| HSV | hsv(233, 70%, 57%) |
| CMYK | cmyk(70.3%, 62.1%, 0%, 43.1%) |
| CIE-LAB | lab(27.54, 26.50, -51.21) |
| CIE-LCH | lch(27.54, 57.66, 297.36°) |
| OKLab | oklab(38.58% 0.0045 -0.1477) |
| OKLCH | oklch(38.58% 0.148 271.7) |
| XYZ | xyz(7.4716, 5.2896, 27.4098) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.80
Blueberry
#464196
ΔE00 4.59
Darkslateblue
#483D8B
ΔE00 5.17
Cobalt
#0047AB
ΔE00 7.06
Cobalt (survey)
#1E488F
ΔE00 7.09
Ocean Blue
#4F42B5
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3791 #91852B
analogous
#2B6A91 #2B3791 #522B91
triadic
#2B3791 #912B37 #37912B
tetradic
#2B3791 #912B6A #91852B #2B9152
square
#2B3791 #912B6A #91852B #2B9152
split-complementary
#2B3791 #91522B #6A912B
monochromatic
#0F1333 #1D2562 #2B3791 #3949C0 #6572D1
Accessibility & contrast
On white
10.20
#2B3791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2B3791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3791
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3791 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b3791; /* rgb */ color: rgb(43, 55, 145); /* oklch */ color: oklch(38.6% 0.148 271.7);
Tailwind
colors: {
custom: {
50: '#726db2',
500: '#2b3791',
950: '#000000',
},
}SCSS
$custom: #2b3791; $custom-light: #726db2; $custom-dark: #000000;
JSON
{
"hex": "#2b3791",
"rgb": {
"r": 43,
"g": 55,
"b": 145
},
"hsl": {
"h": 232.941,
"s": 54.255,
"l": 36.863
},
"oklch": {
"l": 0.38584,
"c": 0.14776,
"h": 271.7
},
"luminance": 0.0529
}Semantic roles & 50–950 ramp
primary
#2B3791
secondary
#B8AD60
accent
#CC4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80