#2F477E#2F477E
#2F477E is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.097 H 264.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #2F477E |
|---|---|
| RGB | rgb(47, 71, 126) |
| HSL | hsl(222, 46%, 34%) |
| HSV | hsv(222, 63%, 49%) |
| CMYK | cmyk(62.7%, 43.7%, 0%, 50.6%) |
| CIE-LAB | lab(30.92, 9.23, -33.98) |
| CIE-LCH | lch(30.92, 35.22, 285.20°) |
| OKLab | oklab(40.76% -0.009 -0.0967) |
| OKLCH | oklch(40.76% 0.097 264.7) |
| XYZ | xyz(7.1901, 6.6166, 20.6328) |
| Luminance | 0.0662 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.32
Darkish Blue
#014182
ΔE00 4.51
Twilight Blue
#0A437A
ΔE00 4.63
Dusk Blue
#26538D
ΔE00 5.34
Prussian Blue
#004577
ΔE00 5.95
Light Navy
#155084
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F477E #7E662F
analogous
#2F6F7E #2F477E #3F2F7E
triadic
#2F477E #7E2F47 #477E2F
tetradic
#2F477E #7E2F6F #7E662F #2F7E3F
square
#2F477E #7E2F6F #7E662F #2F7E3F
split-complementary
#2F477E #7E3F2F #6F7E2F
monochromatic
#0E1525 #1E2E51 #2F477E #4060AB #6380C5
Accessibility & contrast
On white
9.04
#2F477E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F477E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F477E
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F477E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F477E | 1.00 | 9.04 | 2.32 | 9.04 |
| #FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#23457D
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f477e; /* rgb */ color: rgb(47, 71, 126); /* oklch */ color: oklch(40.8% 0.097 264.7);
Tailwind
colors: {
custom: {
50: '#6f79a4',
500: '#2f477e',
950: '#000000',
},
}SCSS
$custom: #2f477e; $custom-light: #6f79a4; $custom-dark: #000000;
JSON
{
"hex": "#2f477e",
"rgb": {
"r": 47,
"g": 71,
"b": 126
},
"hsl": {
"h": 221.772,
"s": 45.665,
"l": 33.922
},
"oklch": {
"l": 0.40758,
"c": 0.09716,
"h": 264.7
},
"luminance": 0.06617
}Semantic roles & 50–950 ramp
primary
#2F477E
secondary
#AC945D
accent
#AE52D5
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F