#2D407C#2D407C
#2D407C is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.104 H 268.1°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2D407C |
|---|---|
| RGB | rgb(45, 64, 124) |
| HSL | hsl(226, 47%, 33%) |
| HSV | hsv(226, 64%, 49%) |
| CMYK | cmyk(63.7%, 48.4%, 0%, 51.4%) |
| CIE-LAB | lab(28.59, 12.82, -36.46) |
| CIE-LCH | lch(28.59, 38.65, 289.38°) |
| OKLab | oklab(38.9% -0.0035 -0.1042) |
| OKLCH | oklch(38.9% 0.104 268.1) |
| XYZ | xyz(6.5524, 5.6794, 19.8158) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.65
Darkish Blue
#014182
ΔE00 5.00
Twilight Blue
#0A437A
ΔE00 5.52
Marine Blue
#01386A
ΔE00 5.96
Blueberry
#464196
ΔE00 6.49
Darkslateblue
#483D8B
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D407C #7C692D
analogous
#2D677C #2D407C #412D7C
triadic
#2D407C #7C2D40 #407C2D
tetradic
#2D407C #7C2D67 #7C692D #2D7C41
square
#2D407C #7C2D67 #7C692D #2D7C41
split-complementary
#2D407C #7C412D #677C2D
monochromatic
#0C1222 #1D294F #2D407C #3D57A9 #5F77C5
Accessibility & contrast
On white
9.83
#2D407C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2D407C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D407C
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D407C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D407C | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#16407B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2d407c; /* rgb */ color: rgb(45, 64, 124); /* oklch */ color: oklch(38.9% 0.104 268.1);
Tailwind
colors: {
custom: {
50: '#6e74a2',
500: '#2d407c',
950: '#000000',
},
}SCSS
$custom: #2d407c; $custom-light: #6e74a2; $custom-dark: #000000;
JSON
{
"hex": "#2d407c",
"rgb": {
"r": 45,
"g": 64,
"b": 124
},
"hsl": {
"h": 225.57,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.389,
"c": 0.10422,
"h": 268.1
},
"luminance": 0.0568
}Semantic roles & 50–950 ramp
primary
#2D407C
secondary
#AB985A
accent
#B651D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F