#2D417D#2D417D
#2D417D is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.104 H 267.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2D417D |
|---|---|
| RGB | rgb(45, 65, 125) |
| HSL | hsl(225, 47%, 33%) |
| HSV | hsv(225, 64%, 49%) |
| CMYK | cmyk(64%, 48%, 0%, 51%) |
| CIE-LAB | lab(28.95, 12.52, -36.51) |
| CIE-LCH | lch(28.95, 38.60, 288.92°) |
| OKLab | oklab(39.2% -0.0044 -0.1043) |
| OKLCH | oklch(39.2% 0.104 267.6) |
| XYZ | xyz(6.6729, 5.8186, 20.1695) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.32
Darkish Blue
#014182
ΔE00 4.80
Twilight Blue
#0A437A
ΔE00 5.31
Marine Blue
#01386A
ΔE00 5.97
Blueberry
#464196
ΔE00 6.53
Prussian Blue
#004577
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D417D #7D692D
analogous
#2D697D #2D417D #412D7D
triadic
#2D417D #7D2D41 #417D2D
tetradic
#2D417D #7D2D69 #7D692D #2D7D41
square
#2D417D #7D2D69 #7D692D #2D7D41
split-complementary
#2D417D #7D412D #697D2D
monochromatic
#0D1223 #1D2A50 #2D417D #3D58AA #5F79C5
Accessibility & contrast
On white
9.71
#2D417D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2D417D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D417D
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D417D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D417D | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#17417C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2d417d; /* rgb */ color: rgb(45, 65, 125); /* oklch */ color: oklch(39.2% 0.104 267.6);
Tailwind
colors: {
custom: {
50: '#6e75a3',
500: '#2d417d',
950: '#000000',
},
}SCSS
$custom: #2d417d; $custom-light: #6e75a3; $custom-dark: #000000;
JSON
{
"hex": "#2d417d",
"rgb": {
"r": 45,
"g": 65,
"b": 125
},
"hsl": {
"h": 225,
"s": 47.059,
"l": 33.333
},
"oklch": {
"l": 0.39197,
"c": 0.10437,
"h": 267.6
},
"luminance": 0.05819
}Semantic roles & 50–950 ramp
primary
#2D417D
secondary
#AC975A
accent
#B551D7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F