#2F476E#2F476E
#2F476E is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.7% C 0.073 H 259.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F476E |
|---|---|
| RGB | rgb(47, 71, 110) |
| HSL | hsl(217, 40%, 31%) |
| HSV | hsv(217, 57%, 43%) |
| CMYK | cmyk(57.3%, 35.5%, 0%, 56.9%) |
| CIE-LAB | lab(30.00, 3.42, -25.39) |
| CIE-LCH | lch(30.00, 25.62, 277.66°) |
| OKLab | oklab(39.75% -0.013 -0.0716) |
| OKLCH | oklch(39.75% 0.073 259.7) |
| XYZ | xyz(6.2390, 6.2361, 15.6237) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 4.63
Cobalt (survey)
#1E488F
ΔE00 5.17
Darkish Blue
#014182
ΔE00 5.25
Prussian Blue
#004577
ΔE00 5.39
Marine Blue
#01386A
ΔE00 6.00
Dusk Blue
#26538D
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F476E #6E562F
analogous
#2F666E #2F476E #362F6E
triadic
#2F476E #6E2F47 #476E2F
tetradic
#2F476E #6E2F66 #6E562F #2F6E36
square
#2F476E #6E2F66 #6E562F #2F6E36
split-complementary
#2F476E #6E362F #666E2F
monochromatic
#0A1018 #1D2B43 #2F476E #416399 #5D81BA
Accessibility & contrast
On white
9.34
#2F476E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2F476E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F476E
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F476E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F476E | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374A70
Deuteranopia (green-blind)
#30446D
Tritanopia (blue-blind)
#0A5055
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f476e; /* rgb */ color: rgb(47, 71, 110); /* oklch */ color: oklch(39.7% 0.073 259.7);
Tailwind
colors: {
custom: {
50: '#6d7a98',
500: '#2f476e',
950: '#000000',
},
}SCSS
$custom: #2f476e; $custom-light: #6d7a98; $custom-dark: #000000;
JSON
{
"hex": "#2f476e",
"rgb": {
"r": 47,
"g": 71,
"b": 110
},
"hsl": {
"h": 217.143,
"s": 40.127,
"l": 30.784
},
"oklch": {
"l": 0.39749,
"c": 0.0728,
"h": 259.7
},
"luminance": 0.06237
}Semantic roles & 50–950 ramp
primary
#2F476E
secondary
#9F8559
accent
#A258D0
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E