#2F476A#2F476A
#2F476A is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.5% C 0.067 H 257.7°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F476A |
|---|---|
| RGB | rgb(47, 71, 106) |
| HSL | hsl(216, 39%, 30%) |
| HSV | hsv(216, 56%, 42%) |
| CMYK | cmyk(55.7%, 33%, 0%, 58.4%) |
| CIE-LAB | lab(29.79, 2.00, -23.19) |
| CIE-LCH | lch(29.79, 23.28, 274.94°) |
| OKLab | oklab(39.52% -0.0142 -0.0652) |
| OKLCH | oklch(39.52% 0.067 257.7) |
| XYZ | xyz(6.0262, 6.1510, 14.5026) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 4.87
Prussian Blue
#004577
ΔE00 5.38
Darkish Blue
#014182
ΔE00 5.60
Cobalt (survey)
#1E488F
ΔE00 5.69
Marine Blue
#01386A
ΔE00 6.11
Dark Slate Blue
#214761
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F476A #6A522F
analogous
#2F656A #2F476A #342F6A
triadic
#2F476A #6A2F47 #476A2F
tetradic
#2F476A #6A2F65 #6A522F #2F6A34
square
#2F476A #6A2F65 #6A522F #2F6A34
split-complementary
#2F476A #6A342F #656A2F
monochromatic
#090E15 #1C2B40 #2F476A #426394 #5C81B7
Accessibility & contrast
On white
9.42
#2F476A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F476A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F476A
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F476A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F476A | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39496B
Deuteranopia (green-blind)
#324469
Tritanopia (blue-blind)
#104F53
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f476a; /* rgb */ color: rgb(47, 71, 106); /* oklch */ color: oklch(39.5% 0.067 257.7);
Tailwind
colors: {
custom: {
50: '#6c7a95',
500: '#2f476a',
950: '#000000',
},
}SCSS
$custom: #2f476a; $custom-light: #6c7a95; $custom-dark: #000000;
JSON
{
"hex": "#2f476a",
"rgb": {
"r": 47,
"g": 71,
"b": 106
},
"hsl": {
"h": 215.593,
"s": 38.562,
"l": 30
},
"oklch": {
"l": 0.39516,
"c": 0.06676,
"h": 257.7
},
"luminance": 0.06151
}Semantic roles & 50–950 ramp
primary
#2F476A
secondary
#9B8159
accent
#9F59CE
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07090D
muted
#7A7B7E