#2A477B#2A477B
#2A477B is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.095 H 261.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2A477B |
|---|---|
| RGB | rgb(42, 71, 123) |
| HSL | hsl(219, 49%, 32%) |
| HSV | hsv(219, 66%, 48%) |
| CMYK | cmyk(65.9%, 42.3%, 0%, 51.8%) |
| CIE-LAB | lab(30.47, 7.09, -32.84) |
| CIE-LCH | lch(30.47, 33.60, 282.19°) |
| OKLab | oklab(40.28% -0.0145 -0.0935) |
| OKLCH | oklch(40.28% 0.095 261.2) |
| XYZ | xyz(6.7820, 6.4281, 19.6184) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.03
Twilight Blue
#0A437A
ΔE00 3.55
Darkish Blue
#014182
ΔE00 3.68
Prussian Blue
#004577
ΔE00 4.79
Dusk Blue
#26538D
ΔE00 4.84
Light Navy
#155084
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A477B #7B5E2A
analogous
#2A6F7B #2A477B #362A7B
triadic
#2A477B #7B2A47 #477B2A
tetradic
#2A477B #7B2A6F #7B5E2A #2A7B36
square
#2A477B #7B2A6F #7B5E2A #2A7B36
split-complementary
#2A477B #7B362A #6F7B2A
monochromatic
#0B1220 #1A2D4D #2A477B #3A61A9 #5980C6
Accessibility & contrast
On white
9.19
#2A477B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2A477B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A477B
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A477B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A477B | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#24447A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a477b; /* rgb */ color: rgb(42, 71, 123); /* oklch */ color: oklch(40.3% 0.095 261.2);
Tailwind
colors: {
custom: {
50: '#6c79a1',
500: '#2a477b',
950: '#000000',
},
}SCSS
$custom: #2a477b; $custom-light: #6c79a1; $custom-dark: #000000;
JSON
{
"hex": "#2a477b",
"rgb": {
"r": 42,
"g": 71,
"b": 123
},
"hsl": {
"h": 218.519,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.40279,
"c": 0.09462,
"h": 261.2
},
"luminance": 0.06429
}Semantic roles & 50–950 ramp
primary
#2A477B
secondary
#AC8D55
accent
#A74FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E