#2F477F#2F477F
#2F477F is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.8% C 0.099 H 264.9°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F477F |
|---|---|
| RGB | rgb(47, 71, 127) |
| HSL | hsl(222, 46%, 34%) |
| HSV | hsv(222, 63%, 50%) |
| CMYK | cmyk(63%, 44.1%, 0%, 50.2%) |
| CIE-LAB | lab(30.98, 9.60, -34.51) |
| CIE-LCH | lch(30.98, 35.82, 285.55°) |
| OKLab | oklab(40.83% -0.0088 -0.0983) |
| OKLCH | oklch(40.83% 0.099 264.9) |
| XYZ | xyz(7.2550, 6.6425, 20.9744) |
| Luminance | 0.0664 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.23
Darkish Blue
#014182
ΔE00 4.50
Twilight Blue
#0A437A
ΔE00 4.66
Dusk Blue
#26538D
ΔE00 5.33
Prussian Blue
#004577
ΔE00 6.00
Light Navy
#155084
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F477F #7F672F
analogous
#2F6F7F #2F477F #3F2F7F
triadic
#2F477F #7F2F47 #477F2F
tetradic
#2F477F #7F2F6F #7F672F #2F7F3F
square
#2F477F #7F2F6F #7F672F #2F7F3F
split-complementary
#2F477F #7F3F2F #6F7F2F
monochromatic
#0E1526 #1E2E52 #2F477F #4060AC #6381C5
Accessibility & contrast
On white
9.02
#2F477F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F477F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F477F
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F477F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F477F | 1.00 | 9.02 | 2.33 | 9.02 |
| #FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#22467E
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f477f; /* rgb */ color: rgb(47, 71, 127); /* oklch */ color: oklch(40.8% 0.099 264.9);
Tailwind
colors: {
custom: {
50: '#6f79a4',
500: '#2f477f',
950: '#000000',
},
}SCSS
$custom: #2f477f; $custom-light: #6f79a4; $custom-dark: #000000;
JSON
{
"hex": "#2f477f",
"rgb": {
"r": 47,
"g": 71,
"b": 127
},
"hsl": {
"h": 222,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.40825,
"c": 0.09867,
"h": 264.9
},
"luminance": 0.06643
}Semantic roles & 50–950 ramp
primary
#2F477F
secondary
#AC955E
accent
#AE52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F