#2B377F#2B377F
#2B377F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.122 H 272.0°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2B377F |
|---|---|
| RGB | rgb(43, 55, 127) |
| HSL | hsl(231, 49%, 33%) |
| HSV | hsv(231, 66%, 50%) |
| CMYK | cmyk(66.1%, 56.7%, 0%, 50.2%) |
| CIE-LAB | lab(26.09, 19.76, -42.37) |
| CIE-LCH | lch(26.09, 46.75, 295.00°) |
| OKLab | oklab(37.05% 0.0042 -0.1217) |
| OKLCH | oklch(37.05% 0.122 272) |
| XYZ | xyz(6.1919, 4.7777, 20.6704) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.42
Blueberry
#464196
ΔE00 5.71
Sapphire (survey)
#2138AB
ΔE00 6.72
Marine
#042E60
ΔE00 6.84
Darkish Blue
#014182
ΔE00 6.94
Cobalt (survey)
#1E488F
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B377F #7F732B
analogous
#2B617F #2B377F #492B7F
triadic
#2B377F #7F2B37 #377F2B
tetradic
#2B377F #7F2B61 #7F732B #2B7F49
square
#2B377F #7F2B61 #7F732B #2B7F49
split-complementary
#2B377F #7F492B #617F2B
monochromatic
#0C0F24 #1C2351 #2B377F #3A4BAD #5C6CC8
Accessibility & contrast
On white
10.74
#2B377F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2B377F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B377F
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B377F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B377F | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#014281
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b377f; /* rgb */ color: rgb(43, 55, 127); /* oklch */ color: oklch(37.0% 0.122 272.0);
Tailwind
colors: {
custom: {
50: '#6e6da5',
500: '#2b377f',
950: '#000000',
},
}SCSS
$custom: #2b377f; $custom-light: #6e6da5; $custom-dark: #000000;
JSON
{
"hex": "#2b377f",
"rgb": {
"r": 43,
"g": 55,
"b": 127
},
"hsl": {
"h": 231.429,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.37045,
"c": 0.12179,
"h": 272
},
"luminance": 0.04778
}Semantic roles & 50–950 ramp
primary
#2B377F
secondary
#AEA258
accent
#C54FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F