#2D417C#2D417C
#2D417C is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.103 H 267.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2D417C |
|---|---|
| RGB | rgb(45, 65, 124) |
| HSL | hsl(225, 47%, 33%) |
| HSV | hsv(225, 64%, 49%) |
| CMYK | cmyk(63.7%, 47.6%, 0%, 51.4%) |
| CIE-LAB | lab(28.88, 12.14, -35.99) |
| CIE-LCH | lch(28.88, 37.98, 288.64°) |
| OKLab | oklab(39.13% -0.0046 -0.1027) |
| OKLCH | oklch(39.13% 0.103 267.4) |
| XYZ | xyz(6.6093, 5.7932, 19.8348) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.40
Darkish Blue
#014182
ΔE00 4.81
Twilight Blue
#0A437A
ΔE00 5.27
Marine Blue
#01386A
ΔE00 5.91
Blueberry
#464196
ΔE00 6.66
Prussian Blue
#004577
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D417C #7C682D
analogous
#2D687C #2D417C #402D7C
triadic
#2D417C #7C2D41 #417C2D
tetradic
#2D417C #7C2D68 #7C682D #2D7C40
square
#2D417C #7C2D68 #7C682D #2D7C40
split-complementary
#2D417C #7C402D #687C2D
monochromatic
#0C1222 #1D294F #2D417C #3D59A9 #5F78C5
Accessibility & contrast
On white
9.73
#2D417C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2D417C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D417C
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D417C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D417C | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25487E
Deuteranopia (green-blind)
#18417B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2d417c; /* rgb */ color: rgb(45, 65, 124); /* oklch */ color: oklch(39.1% 0.103 267.4);
Tailwind
colors: {
custom: {
50: '#6e75a2',
500: '#2d417c',
950: '#000000',
},
}SCSS
$custom: #2d417c; $custom-light: #6e75a2; $custom-dark: #000000;
JSON
{
"hex": "#2d417c",
"rgb": {
"r": 45,
"g": 65,
"b": 124
},
"hsl": {
"h": 224.81,
"s": 46.746,
"l": 33.137
},
"oklch": {
"l": 0.39126,
"c": 0.10285,
"h": 267.4
},
"luminance": 0.05794
}Semantic roles & 50–950 ramp
primary
#2D417C
secondary
#AB975A
accent
#B551D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08080F
muted
#7B7B7F