#2A477C#2A477C
#2A477C is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.096 H 261.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2A477C |
|---|---|
| RGB | rgb(42, 71, 124) |
| HSL | hsl(219, 49%, 33%) |
| HSV | hsv(219, 66%, 49%) |
| CMYK | cmyk(66.1%, 42.7%, 0%, 51.4%) |
| CIE-LAB | lab(30.53, 7.47, -33.37) |
| CIE-LCH | lch(30.53, 34.20, 282.62°) |
| OKLab | oklab(40.35% -0.0143 -0.095) |
| OKLCH | oklch(40.35% 0.096 261.5) |
| XYZ | xyz(6.8449, 6.4533, 19.9498) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.91
Twilight Blue
#0A437A
ΔE00 3.59
Darkish Blue
#014182
ΔE00 3.66
Dusk Blue
#26538D
ΔE00 4.82
Prussian Blue
#004577
ΔE00 4.86
Light Navy
#155084
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A477C #7C5F2A
analogous
#2A707C #2A477C #362A7C
triadic
#2A477C #7C2A47 #477C2A
tetradic
#2A477C #7C2A70 #7C5F2A #2A7C36
square
#2A477C #7C2A70 #7C5F2A #2A7C36
split-complementary
#2A477C #7C362A #707C2A
monochromatic
#0B1321 #1B2D4E #2A477C #3961AA #5980C7
Accessibility & contrast
On white
9.17
#2A477C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2A477C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A477C
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A477C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A477C | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#23447B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a477c; /* rgb */ color: rgb(42, 71, 124); /* oklch */ color: oklch(40.3% 0.096 261.5);
Tailwind
colors: {
custom: {
50: '#6c79a2',
500: '#2a477c',
950: '#000000',
},
}SCSS
$custom: #2a477c; $custom-light: #6c79a2; $custom-dark: #000000;
JSON
{
"hex": "#2a477c",
"rgb": {
"r": 42,
"g": 71,
"b": 124
},
"hsl": {
"h": 218.78,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.40346,
"c": 0.09611,
"h": 261.5
},
"luminance": 0.06454
}Semantic roles & 50–950 ramp
primary
#2A477C
secondary
#AD8E55
accent
#A84FD9
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F