#2D409F#2D409F
#2D409F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.7% C 0.155 H 269.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2D409F |
|---|---|
| RGB | rgb(45, 64, 159) |
| HSL | hsl(230, 56%, 40%) |
| HSV | hsv(230, 72%, 62%) |
| CMYK | cmyk(71.7%, 59.7%, 0%, 37.6%) |
| CIE-LAB | lab(31.18, 25.99, -53.82) |
| CIE-LCH | lch(31.18, 59.77, 295.77°) |
| OKLab | oklab(41.67% -0.0007 -0.1552) |
| OKLCH | oklch(41.67% 0.155 269.7) |
| XYZ | xyz(9.1715, 6.7270, 33.6093) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.13
Blueberry
#464196
ΔE00 4.26
Cobalt
#0047AB
ΔE00 4.41
Cobalt (survey)
#1E488F
ΔE00 5.37
Blue Blue
#2242C7
ΔE00 5.41
Darkslateblue
#483D8B
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D409F #9F8C2D
analogous
#2D799F #2D409F #532D9F
triadic
#2D409F #9F2D40 #409F2D
tetradic
#2D409F #9F2D79 #9F8C2D #2D9F53
square
#2D409F #9F2D79 #9F8C2D #2D9F53
split-complementary
#2D409F #9F532D #799F2D
monochromatic
#121A40 #202D6F #2D409F #4057C9 #7081D6
Accessibility & contrast
On white
8.95
#2D409F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2D409F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D409F
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D409F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D409F | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00449D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2d409f; /* rgb */ color: rgb(45, 64, 159); /* oklch */ color: oklch(41.7% 0.155 269.7);
Tailwind
colors: {
custom: {
50: '#7674bc',
500: '#2d409f',
950: '#000000',
},
}SCSS
$custom: #2d409f; $custom-light: #7674bc; $custom-dark: #000000;
JSON
{
"hex": "#2d409f",
"rgb": {
"r": 45,
"g": 64,
"b": 159
},
"hsl": {
"h": 230,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.41672,
"c": 0.15523,
"h": 269.7
},
"luminance": 0.06728
}Semantic roles & 50–950 ramp
primary
#2D409F
secondary
#BEB06A
accent
#C649DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81