#2D409C#2D409C
#2D409C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.4% C 0.151 H 269.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2D409C |
|---|---|
| RGB | rgb(45, 64, 156) |
| HSL | hsl(230, 55%, 39%) |
| HSV | hsv(230, 71%, 61%) |
| CMYK | cmyk(71.2%, 59%, 0%, 38.8%) |
| CIE-LAB | lab(30.94, 24.86, -52.40) |
| CIE-LCH | lch(30.94, 58.00, 295.38°) |
| OKLab | oklab(41.42% -0.0008 -0.151) |
| OKLCH | oklch(41.42% 0.151 269.7) |
| XYZ | xyz(8.9143, 6.6241, 32.2548) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Blueberry
#464196
ΔE00 4.21
Cobalt
#0047AB
ΔE00 4.49
Cobalt (survey)
#1E488F
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.85
Darkslateblue
#483D8B
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D409C #9C892D
analogous
#2D789C #2D409C #522D9C
triadic
#2D409C #9C2D40 #409C2D
tetradic
#2D409C #9C2D78 #9C892D #2D9C52
square
#2D409C #9C2D78 #9C892D #2D9C52
split-complementary
#2D409C #9C522D #789C2D
monochromatic
#12193D #1F2D6D #2D409C #3F56C8 #6E80D5
Accessibility & contrast
On white
9.03
#2D409C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2D409C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D409C
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D409C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D409C | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2d409c; /* rgb */ color: rgb(45, 64, 156); /* oklch */ color: oklch(41.4% 0.151 269.7);
Tailwind
colors: {
custom: {
50: '#7574ba',
500: '#2d409c',
950: '#000000',
},
}SCSS
$custom: #2d409c; $custom-light: #7574ba; $custom-dark: #000000;
JSON
{
"hex": "#2d409c",
"rgb": {
"r": 45,
"g": 64,
"b": 156
},
"hsl": {
"h": 229.73,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.41416,
"c": 0.15104,
"h": 269.7
},
"luminance": 0.06625
}Semantic roles & 50–950 ramp
primary
#2D409C
secondary
#BCAE68
accent
#C549DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81