#2D406F#2D406F
#2D406F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.084 H 265.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2D406F |
|---|---|
| RGB | rgb(45, 64, 111) |
| HSL | hsl(223, 42%, 31%) |
| HSV | hsv(223, 59%, 44%) |
| CMYK | cmyk(59.5%, 42.3%, 0%, 56.5%) |
| CIE-LAB | lab(27.77, 8.01, -29.56) |
| CIE-LCH | lch(27.77, 30.63, 285.15°) |
| OKLab | oklab(38.01% -0.006 -0.0839) |
| OKLCH | oklch(38.01% 0.084 265.9) |
| XYZ | xyz(5.7839, 5.3719, 15.7679) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine Blue
#01386A
ΔE00 5.43
Twilight Blue
#0A437A
ΔE00 5.50
Darkish Blue
#014182
ΔE00 5.55
Cobalt (survey)
#1E488F
ΔE00 5.89
Marine
#042E60
ΔE00 6.44
Prussian Blue
#004577
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D406F #6F5C2D
analogous
#2D616F #2D406F #3B2D6F
triadic
#2D406F #6F2D40 #406F2D
tetradic
#2D406F #6F2D61 #6F5C2D #2D6F3B
square
#2D406F #6F2D61 #6F5C2D #2D6F3B
split-complementary
#2D406F #6F3B2D #616F2D
monochromatic
#0A0E18 #1B2743 #2D406F #3F599B #5A76BC
Accessibility & contrast
On white
10.12
#2D406F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2D406F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D406F
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D406F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D406F | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#243F6E
Tritanopia (blue-blind)
#024A52
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2d406f; /* rgb */ color: rgb(45, 64, 111); /* oklch */ color: oklch(38.0% 0.084 265.9);
Tailwind
colors: {
custom: {
50: '#6c7498',
500: '#2d406f',
950: '#000000',
},
}SCSS
$custom: #2d406f; $custom-light: #6c7498; $custom-dark: #000000;
JSON
{
"hex": "#2d406f",
"rgb": {
"r": 45,
"g": 64,
"b": 111
},
"hsl": {
"h": 222.727,
"s": 42.308,
"l": 30.588
},
"oklch": {
"l": 0.38005,
"c": 0.08412,
"h": 265.9
},
"luminance": 0.05372
}Semantic roles & 50–950 ramp
primary
#2D406F
secondary
#A18B57
accent
#AE56D2
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E