#2D417E#2D417E
#2D417E is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.3% C 0.106 H 267.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2D417E |
|---|---|
| RGB | rgb(45, 65, 126) |
| HSL | hsl(225, 47%, 34%) |
| HSV | hsv(225, 64%, 49%) |
| CMYK | cmyk(64.3%, 48.4%, 0%, 50.6%) |
| CIE-LAB | lab(29.02, 12.89, -37.03) |
| CIE-LCH | lch(29.02, 39.21, 289.19°) |
| OKLab | oklab(39.27% -0.0043 -0.1058) |
| OKLCH | oklch(39.27% 0.106 267.7) |
| XYZ | xyz(6.7371, 5.8443, 20.5076) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.25
Darkish Blue
#014182
ΔE00 4.80
Twilight Blue
#0A437A
ΔE00 5.34
Marine Blue
#01386A
ΔE00 6.04
Blueberry
#464196
ΔE00 6.40
Darkslateblue
#483D8B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D417E #7E6A2D
analogous
#2D697E #2D417E #412D7E
triadic
#2D417E #7E2D41 #417E2D
tetradic
#2D417E #7E2D69 #7E6A2D #2D7E41
square
#2D417E #7E2D69 #7E6A2D #2D7E41
split-complementary
#2D417E #7E412D #697E2D
monochromatic
#0D1224 #1D2A51 #2D417E #3D58AB #5F79C6
Accessibility & contrast
On white
9.68
#2D417E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2D417E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D417E
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D417E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D417E | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#15417D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2d417e; /* rgb */ color: rgb(45, 65, 126); /* oklch */ color: oklch(39.3% 0.106 267.7);
Tailwind
colors: {
custom: {
50: '#6e75a4',
500: '#2d417e',
950: '#000000',
},
}SCSS
$custom: #2d417e; $custom-light: #6e75a4; $custom-dark: #000000;
JSON
{
"hex": "#2d417e",
"rgb": {
"r": 45,
"g": 65,
"b": 126
},
"hsl": {
"h": 225.185,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.39269,
"c": 0.1059,
"h": 267.7
},
"luminance": 0.05845
}Semantic roles & 50–950 ramp
primary
#2D417E
secondary
#AC985A
accent
#B651D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F