#2B377C#2B377C
#2B377C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.117 H 272.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2B377C |
|---|---|
| RGB | rgb(43, 55, 124) |
| HSL | hsl(231, 49%, 33%) |
| HSV | hsv(231, 65%, 49%) |
| CMYK | cmyk(65.3%, 55.6%, 0%, 51.4%) |
| CIE-LAB | lab(25.86, 18.63, -40.85) |
| CIE-LCH | lch(25.86, 44.90, 294.51°) |
| OKLab | oklab(36.8% 0.004 -0.1172) |
| OKLCH | oklch(36.8% 0.117 272) |
| XYZ | xyz(5.9993, 4.7007, 19.6560) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.63
Blueberry
#464196
ΔE00 6.03
Marine
#042E60
ΔE00 6.53
Marine Blue
#01386A
ΔE00 6.89
Darkish Blue
#014182
ΔE00 6.92
Cobalt (survey)
#1E488F
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B377C #7C702B
analogous
#2B5F7C #2B377C #472B7C
triadic
#2B377C #7C2B37 #377C2B
tetradic
#2B377C #7C2B5F #7C702B #2B7C47
square
#2B377C #7C2B5F #7C702B #2B7C47
split-complementary
#2B377C #7C472B #5F7C2B
monochromatic
#0B0F21 #1B234F #2B377C #3B4BA9 #5B6BC6
Accessibility & contrast
On white
10.82
#2B377C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2B377C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B377C
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B377C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B377C | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09417E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2b377c; /* rgb */ color: rgb(43, 55, 124); /* oklch */ color: oklch(36.8% 0.117 272.0);
Tailwind
colors: {
custom: {
50: '#6e6da2',
500: '#2b377c',
950: '#000000',
},
}SCSS
$custom: #2b377c; $custom-light: #6e6da2; $custom-dark: #000000;
JSON
{
"hex": "#2b377c",
"rgb": {
"r": 43,
"g": 55,
"b": 124
},
"hsl": {
"h": 231.111,
"s": 48.503,
"l": 32.745
},
"oklch": {
"l": 0.36802,
"c": 0.11732,
"h": 272
},
"luminance": 0.04701
}Semantic roles & 50–950 ramp
primary
#2B377C
secondary
#AC9F57
accent
#C450D8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F