#2F476F#2F476F
#2F476F is a dark, moderate blue. Relative luminance 0.063; OKLCH L 39.8% C 0.074 H 260.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F476F |
|---|---|
| RGB | rgb(47, 71, 111) |
| HSL | hsl(218, 41%, 31%) |
| HSV | hsv(218, 58%, 44%) |
| CMYK | cmyk(57.7%, 36%, 0%, 56.5%) |
| CIE-LAB | lab(30.05, 3.77, -25.94) |
| CIE-LCH | lch(30.05, 26.22, 278.28°) |
| OKLab | oklab(39.81% -0.0127 -0.0732) |
| OKLCH | oklch(39.81% 0.074 260.2) |
| XYZ | xyz(6.2938, 6.2580, 15.9121) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 4.59
Cobalt (survey)
#1E488F
ΔE00 5.05
Darkish Blue
#014182
ΔE00 5.17
Prussian Blue
#004577
ΔE00 5.41
Marine Blue
#01386A
ΔE00 5.99
Dusk Blue
#26538D
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F476F #6F572F
analogous
#2F676F #2F476F #372F6F
triadic
#2F476F #6F2F47 #476F2F
tetradic
#2F476F #6F2F67 #6F572F #2F6F37
square
#2F476F #6F2F67 #6F572F #2F6F37
split-complementary
#2F476F #6F372F #676F2F
monochromatic
#0B1019 #1D2B44 #2F476F #41639A #5E81BB
Accessibility & contrast
On white
9.33
#2F476F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F476F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F476F
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F476F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F476F | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#2F446E
Tritanopia (blue-blind)
#085056
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f476f; /* rgb */ color: rgb(47, 71, 111); /* oklch */ color: oklch(39.8% 0.074 260.2);
Tailwind
colors: {
custom: {
50: '#6d7998',
500: '#2f476f',
950: '#000000',
},
}SCSS
$custom: #2f476f; $custom-light: #6d7998; $custom-dark: #000000;
JSON
{
"hex": "#2f476f",
"rgb": {
"r": 47,
"g": 71,
"b": 111
},
"hsl": {
"h": 217.5,
"s": 40.506,
"l": 30.98
},
"oklch": {
"l": 0.39808,
"c": 0.07432,
"h": 260.2
},
"luminance": 0.06259
}Semantic roles & 50–950 ramp
primary
#2F476F
secondary
#A08659
accent
#A357D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E