#2A377E#2A377E
#2A377E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.121 H 271.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A377E |
|---|---|
| RGB | rgb(42, 55, 126) |
| HSL | hsl(231, 50%, 33%) |
| HSV | hsv(231, 67%, 49%) |
| CMYK | cmyk(66.7%, 56.3%, 0%, 50.6%) |
| CIE-LAB | lab(25.95, 19.20, -41.97) |
| CIE-LCH | lch(25.95, 46.16, 294.58°) |
| OKLab | oklab(36.9% 0.003 -0.1206) |
| OKLCH | oklch(36.9% 0.121 271.4) |
| XYZ | xyz(6.0857, 4.7304, 20.3270) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.64
Blueberry
#464196
ΔE00 5.92
Marine
#042E60
ΔE00 6.61
Darkish Blue
#014182
ΔE00 6.77
Marine Blue
#01386A
ΔE00 6.87
Cobalt (survey)
#1E488F
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A377E #7E712A
analogous
#2A617E #2A377E #472A7E
triadic
#2A377E #7E2A37 #377E2A
tetradic
#2A377E #7E2A61 #7E712A #2A7E47
square
#2A377E #7E2A61 #7E712A #2A7E47
split-complementary
#2A377E #7E472A #617E2A
monochromatic
#0B0F22 #1B2350 #2A377E #394BAC #5A6BC8
Accessibility & contrast
On white
10.79
#2A377E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2A377E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A377E
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A377E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A377E | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034180
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a377e; /* rgb */ color: rgb(42, 55, 126); /* oklch */ color: oklch(36.9% 0.121 271.4);
Tailwind
colors: {
custom: {
50: '#6e6da4',
500: '#2a377e',
950: '#000000',
},
}SCSS
$custom: #2a377e; $custom-light: #6e6da4; $custom-dark: #000000;
JSON
{
"hex": "#2a377e",
"rgb": {
"r": 42,
"g": 55,
"b": 126
},
"hsl": {
"h": 230.714,
"s": 50,
"l": 32.941
},
"oklch": {
"l": 0.369,
"c": 0.12061,
"h": 271.4
},
"luminance": 0.04731
}Semantic roles & 50–950 ramp
primary
#2A377E
secondary
#AEA056
accent
#C44EDA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F