#2B3790#2B3790
#2B3790 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.146 H 271.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3790 |
|---|---|
| RGB | rgb(43, 55, 144) |
| HSL | hsl(233, 54%, 37%) |
| HSV | hsv(233, 70%, 56%) |
| CMYK | cmyk(70.1%, 61.8%, 0%, 43.5%) |
| CIE-LAB | lab(27.46, 26.12, -50.73) |
| CIE-LCH | lch(27.46, 57.06, 297.25°) |
| OKLab | oklab(38.5% 0.0045 -0.1463) |
| OKLCH | oklch(38.5% 0.146 271.8) |
| XYZ | xyz(7.3948, 5.2589, 27.0055) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.95
Blueberry
#464196
ΔE00 4.61
Darkslateblue
#483D8B
ΔE00 5.15
Cobalt (survey)
#1E488F
ΔE00 7.06
Cobalt
#0047AB
ΔE00 7.11
Darkish Blue
#014182
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3790 #90842B
analogous
#2B6A90 #2B3790 #522B90
triadic
#2B3790 #902B37 #37902B
tetradic
#2B3790 #902B6A #90842B #2B9052
square
#2B3790 #902B6A #90842B #2B9052
split-complementary
#2B3790 #90522B #6A902B
monochromatic
#0F1332 #1D2561 #2B3790 #3949BF #6571D1
Accessibility & contrast
On white
10.23
#2B3790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2B3790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3790
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3790 | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b3790; /* rgb */ color: rgb(43, 55, 144); /* oklch */ color: oklch(38.5% 0.146 271.8);
Tailwind
colors: {
custom: {
50: '#726db1',
500: '#2b3790',
950: '#000000',
},
}SCSS
$custom: #2b3790; $custom-light: #726db1; $custom-dark: #000000;
JSON
{
"hex": "#2b3790",
"rgb": {
"r": 43,
"g": 55,
"b": 144
},
"hsl": {
"h": 232.871,
"s": 54.011,
"l": 36.667
},
"oklch": {
"l": 0.38495,
"c": 0.14635,
"h": 271.8
},
"luminance": 0.0526
}Semantic roles & 50–950 ramp
primary
#2B3790
secondary
#B7AD60
accent
#CC4ADD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80