#2A377C#2A377C
#2A377C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.118 H 271.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2A377C |
|---|---|
| RGB | rgb(42, 55, 124) |
| HSL | hsl(230, 49%, 33%) |
| HSV | hsv(230, 66%, 49%) |
| CMYK | cmyk(66.1%, 55.6%, 0%, 51.4%) |
| CIE-LAB | lab(25.80, 18.44, -40.96) |
| CIE-LCH | lch(25.80, 44.92, 294.24°) |
| OKLab | oklab(36.74% 0.0029 -0.1176) |
| OKLCH | oklch(36.74% 0.118 271.4) |
| XYZ | xyz(5.9579, 4.6793, 19.6541) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.78
Blueberry
#464196
ΔE00 6.14
Marine
#042E60
ΔE00 6.40
Marine Blue
#01386A
ΔE00 6.72
Darkish Blue
#014182
ΔE00 6.76
Cobalt (survey)
#1E488F
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A377C #7C6F2A
analogous
#2A607C #2A377C #462A7C
triadic
#2A377C #7C2A37 #377C2A
tetradic
#2A377C #7C2A60 #7C6F2A #2A7C46
square
#2A377C #7C2A60 #7C6F2A #2A7C46
split-complementary
#2A377C #7C462A #607C2A
monochromatic
#0B0E21 #1B234E #2A377C #394BAA #596BC7
Accessibility & contrast
On white
10.85
#2A377C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2A377C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A377C
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A377C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A377C | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08417E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a377c; /* rgb */ color: rgb(42, 55, 124); /* oklch */ color: oklch(36.7% 0.118 271.4);
Tailwind
colors: {
custom: {
50: '#6d6da2',
500: '#2a377c',
950: '#000000',
},
}SCSS
$custom: #2a377c; $custom-light: #6d6da2; $custom-dark: #000000;
JSON
{
"hex": "#2a377c",
"rgb": {
"r": 42,
"g": 55,
"b": 124
},
"hsl": {
"h": 230.488,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.36738,
"c": 0.11763,
"h": 271.4
},
"luminance": 0.0468
}Semantic roles & 50–950 ramp
primary
#2A377C
secondary
#AD9F55
accent
#C34FD9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F