#2B377E#2B377E
#2B377E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.120 H 272.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2B377E |
|---|---|
| RGB | rgb(43, 55, 126) |
| HSL | hsl(231, 49%, 33%) |
| HSV | hsv(231, 66%, 49%) |
| CMYK | cmyk(65.9%, 56.3%, 0%, 50.6%) |
| CIE-LAB | lab(26.02, 19.38, -41.87) |
| CIE-LCH | lch(26.02, 46.14, 294.84°) |
| OKLab | oklab(36.96% 0.0041 -0.1202) |
| OKLCH | oklch(36.96% 0.12 272) |
| XYZ | xyz(6.1271, 4.7518, 20.3289) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.49
Blueberry
#464196
ΔE00 5.81
Marine
#042E60
ΔE00 6.74
Sapphire (survey)
#2138AB
ΔE00 6.89
Darkish Blue
#014182
ΔE00 6.93
Cobalt (survey)
#1E488F
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B377E #7E722B
analogous
#2B607E #2B377E #482B7E
triadic
#2B377E #7E2B37 #377E2B
tetradic
#2B377E #7E2B60 #7E722B #2B7E48
square
#2B377E #7E2B60 #7E722B #2B7E48
split-complementary
#2B377E #7E482B #607E2B
monochromatic
#0C0F23 #1B2350 #2B377E #3B4BAC #5C6CC7
Accessibility & contrast
On white
10.77
#2B377E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2B377E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B377E
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B377E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B377E | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#044180
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b377e; /* rgb */ color: rgb(43, 55, 126); /* oklch */ color: oklch(37.0% 0.120 272.0);
Tailwind
colors: {
custom: {
50: '#6e6da4',
500: '#2b377e',
950: '#000000',
},
}SCSS
$custom: #2b377e; $custom-light: #6e6da4; $custom-dark: #000000;
JSON
{
"hex": "#2b377e",
"rgb": {
"r": 43,
"g": 55,
"b": 126
},
"hsl": {
"h": 231.325,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.36964,
"c": 0.12031,
"h": 272
},
"luminance": 0.04752
}Semantic roles & 50–950 ramp
primary
#2B377E
secondary
#ADA158
accent
#C54FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F