#2D457C#2D457C
#2D457C is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.098 H 264.6°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2D457C |
|---|---|
| RGB | rgb(45, 69, 124) |
| HSL | hsl(222, 47%, 33%) |
| HSV | hsv(222, 64%, 49%) |
| CMYK | cmyk(63.7%, 44.4%, 0%, 51.4%) |
| CIE-LAB | lab(30.08, 9.42, -34.08) |
| CIE-LCH | lch(30.08, 35.36, 285.46°) |
| OKLab | oklab(40.04% -0.0091 -0.0971) |
| OKLCH | oklch(40.04% 0.098 264.6) |
| XYZ | xyz(6.8471, 6.2688, 19.9140) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.53
Darkish Blue
#014182
ΔE00 4.27
Twilight Blue
#0A437A
ΔE00 4.45
Dusk Blue
#26538D
ΔE00 5.84
Prussian Blue
#004577
ΔE00 5.86
Marine Blue
#01386A
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D457C #7C642D
analogous
#2D6C7C #2D457C #3C2D7C
triadic
#2D457C #7C2D45 #457C2D
tetradic
#2D457C #7C2D6C #7C642D #2D7C3C
square
#2D457C #7C2D6C #7C642D #2D7C3C
split-complementary
#2D457C #7C3C2D #6C7C2D
monochromatic
#0C1322 #1D2C4F #2D457C #3D5EA9 #5F7EC5
Accessibility & contrast
On white
9.32
#2D457C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2D457C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D457C
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D457C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D457C | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#21437B
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2d457c; /* rgb */ color: rgb(45, 69, 124); /* oklch */ color: oklch(40.0% 0.098 264.6);
Tailwind
colors: {
custom: {
50: '#6e78a2',
500: '#2d457c',
950: '#000000',
},
}SCSS
$custom: #2d457c; $custom-light: #6e78a2; $custom-dark: #000000;
JSON
{
"hex": "#2d457c",
"rgb": {
"r": 45,
"g": 69,
"b": 124
},
"hsl": {
"h": 221.772,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.40044,
"c": 0.09751,
"h": 264.6
},
"luminance": 0.06269
}Semantic roles & 50–950 ramp
primary
#2D457C
secondary
#AB925A
accent
#AE51D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F