#2D417F#2D417F
#2D417F is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.3% C 0.107 H 267.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2D417F |
|---|---|
| RGB | rgb(45, 65, 127) |
| HSL | hsl(225, 48%, 34%) |
| HSV | hsv(225, 65%, 50%) |
| CMYK | cmyk(64.6%, 48.8%, 0%, 50.2%) |
| CIE-LAB | lab(29.08, 13.27, -37.55) |
| CIE-LCH | lch(29.08, 39.82, 289.46°) |
| OKLab | oklab(39.34% -0.0041 -0.1073) |
| OKLCH | oklch(39.34% 0.107 267.8) |
| XYZ | xyz(6.8019, 5.8702, 20.8492) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.19
Darkish Blue
#014182
ΔE00 4.80
Twilight Blue
#0A437A
ΔE00 5.38
Marine Blue
#01386A
ΔE00 6.11
Blueberry
#464196
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D417F #7F6B2D
analogous
#2D6A7F #2D417F #422D7F
triadic
#2D417F #7F2D41 #417F2D
tetradic
#2D417F #7F2D6A #7F6B2D #2D7F42
square
#2D417F #7F2D6A #7F6B2D #2D7F42
split-complementary
#2D417F #7F422D #6A7F2D
monochromatic
#0D1325 #1D2A52 #2D417F #3D58AC #6079C7
Accessibility & contrast
On white
9.66
#2D417F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2D417F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D417F
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D417F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D417F | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224881
Deuteranopia (green-blind)
#14417E
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2d417f; /* rgb */ color: rgb(45, 65, 127); /* oklch */ color: oklch(39.3% 0.107 267.8);
Tailwind
colors: {
custom: {
50: '#6f75a4',
500: '#2d417f',
950: '#000000',
},
}SCSS
$custom: #2d417f; $custom-light: #6f75a4; $custom-dark: #000000;
JSON
{
"hex": "#2d417f",
"rgb": {
"r": 45,
"g": 65,
"b": 127
},
"hsl": {
"h": 225.366,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.39341,
"c": 0.10742,
"h": 267.8
},
"luminance": 0.05871
}Semantic roles & 50–950 ramp
primary
#2D417F
secondary
#AD995B
accent
#B651D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F