#2D409D#2D409D
#2D409D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.152 H 269.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2D409D |
|---|---|
| RGB | rgb(45, 64, 157) |
| HSL | hsl(230, 55%, 40%) |
| HSV | hsv(230, 71%, 62%) |
| CMYK | cmyk(71.3%, 59.2%, 0%, 38.4%) |
| CIE-LAB | lab(31.02, 25.24, -52.88) |
| CIE-LCH | lch(31.02, 58.59, 295.51°) |
| OKLab | oklab(41.5% -0.0008 -0.1524) |
| OKLCH | oklch(41.5% 0.152 269.7) |
| XYZ | xyz(8.9993, 6.6581, 32.7026) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.34
Blueberry
#464196
ΔE00 4.22
Cobalt
#0047AB
ΔE00 4.46
Cobalt (survey)
#1E488F
ΔE00 5.19
Blue Blue
#2242C7
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D409D #9D8A2D
analogous
#2D789D #2D409D #522D9D
triadic
#2D409D #9D2D40 #409D2D
tetradic
#2D409D #9D2D78 #9D8A2D #2D9D52
square
#2D409D #9D2D78 #9D8A2D #2D9D52
split-complementary
#2D409D #9D522D #789D2D
monochromatic
#12193E #1F2D6D #2D409D #3F56C8 #6F80D6
Accessibility & contrast
On white
9.01
#2D409D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2D409D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D409D
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D409D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D409D | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2d409d; /* rgb */ color: rgb(45, 64, 157); /* oklch */ color: oklch(41.5% 0.152 269.7);
Tailwind
colors: {
custom: {
50: '#7574bb',
500: '#2d409d',
950: '#000000',
},
}SCSS
$custom: #2d409d; $custom-light: #7574bb; $custom-dark: #000000;
JSON
{
"hex": "#2d409d",
"rgb": {
"r": 45,
"g": 64,
"b": 157
},
"hsl": {
"h": 229.821,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.41501,
"c": 0.15244,
"h": 269.7
},
"luminance": 0.06659
}Semantic roles & 50–950 ramp
primary
#2D409D
secondary
#BDAF69
accent
#C549DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81