#2D476F#2D476F
#2D476F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.7% C 0.075 H 258.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2D476F |
|---|---|
| RGB | rgb(45, 71, 111) |
| HSL | hsl(216, 42%, 31%) |
| HSV | hsv(216, 59%, 44%) |
| CMYK | cmyk(59.5%, 36%, 0%, 56.5%) |
| CIE-LAB | lab(29.94, 3.30, -26.13) |
| CIE-LCH | lch(29.94, 26.34, 277.19°) |
| OKLab | oklab(39.69% -0.0147 -0.0738) |
| OKLCH | oklch(39.69% 0.075 258.7) |
| XYZ | xyz(6.2037, 6.2116, 15.9079) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 4.16
Darkish Blue
#014182
ΔE00 4.80
Cobalt (survey)
#1E488F
ΔE00 4.80
Prussian Blue
#004577
ΔE00 4.91
Light Navy
#155084
ΔE00 5.71
Marine Blue
#01386A
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D476F #6F552D
analogous
#2D686F #2D476F #342D6F
triadic
#2D476F #6F2D47 #476F2D
tetradic
#2D476F #6F2D68 #6F552D #2D6F34
square
#2D476F #6F2D68 #6F552D #2D6F34
split-complementary
#2D476F #6F342D #686F2D
monochromatic
#0A0F18 #1B2B43 #2D476F #3F639B #5A81BC
Accessibility & contrast
On white
9.36
#2D476F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2D476F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D476F
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D476F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D476F | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#2E446E
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2d476f; /* rgb */ color: rgb(45, 71, 111); /* oklch */ color: oklch(39.7% 0.075 258.7);
Tailwind
colors: {
custom: {
50: '#6c7998',
500: '#2d476f',
950: '#000000',
},
}SCSS
$custom: #2d476f; $custom-light: #6c7998; $custom-dark: #000000;
JSON
{
"hex": "#2d476f",
"rgb": {
"r": 45,
"g": 71,
"b": 111
},
"hsl": {
"h": 216.364,
"s": 42.308,
"l": 30.588
},
"oklch": {
"l": 0.39688,
"c": 0.07526,
"h": 258.7
},
"luminance": 0.06212
}Semantic roles & 50–950 ramp
primary
#2D476F
secondary
#A18457
accent
#A156D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090D
muted
#7A7B7E