#2B477A#2B477A
#2B477A is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.093 H 261.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2B477A |
|---|---|
| RGB | rgb(43, 71, 122) |
| HSL | hsl(219, 48%, 32%) |
| HSV | hsv(219, 65%, 48%) |
| CMYK | cmyk(64.8%, 41.8%, 0%, 52.2%) |
| CIE-LAB | lab(30.46, 6.92, -32.23) |
| CIE-LCH | lch(30.46, 32.96, 282.11°) |
| OKLab | oklab(40.27% -0.0138 -0.0917) |
| OKLCH | oklch(40.27% 0.093 261.5) |
| XYZ | xyz(6.7611, 6.4246, 19.2923) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.24
Twilight Blue
#0A437A
ΔE00 3.71
Darkish Blue
#014182
ΔE00 3.86
Prussian Blue
#004577
ΔE00 4.93
Dusk Blue
#26538D
ΔE00 4.97
Light Navy
#155084
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B477A #7A5E2B
analogous
#2B6F7A #2B477A #362B7A
triadic
#2B477A #7A2B47 #477A2B
tetradic
#2B477A #7A2B6F #7A5E2B #2B7A36
square
#2B477A #7A2B6F #7A5E2B #2B7A36
split-complementary
#2B477A #7A362B #6F7A2B
monochromatic
#0B121F #1B2D4D #2B477A #3B61A7 #5A80C5
Accessibility & contrast
On white
9.19
#2B477A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2B477A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B477A
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B477A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B477A | 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)
#304C7C
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b477a; /* rgb */ color: rgb(43, 71, 122); /* oklch */ color: oklch(40.3% 0.093 261.5);
Tailwind
colors: {
custom: {
50: '#6c79a1',
500: '#2b477a',
950: '#000000',
},
}SCSS
$custom: #2b477a; $custom-light: #6c79a1; $custom-dark: #000000;
JSON
{
"hex": "#2b477a",
"rgb": {
"r": 43,
"g": 71,
"b": 122
},
"hsl": {
"h": 218.734,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.40267,
"c": 0.09271,
"h": 261.5
},
"luminance": 0.06425
}Semantic roles & 50–950 ramp
primary
#2B477A
secondary
#AB8D56
accent
#A850D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E