#2D419F#2D419F
#2D419F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.154 H 269.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2D419F |
|---|---|
| RGB | rgb(45, 65, 159) |
| HSL | hsl(229, 56%, 40%) |
| HSV | hsv(229, 72%, 62%) |
| CMYK | cmyk(71.7%, 59.1%, 0%, 37.6%) |
| CIE-LAB | lab(31.44, 25.32, -53.39) |
| CIE-LCH | lch(31.44, 59.09, 295.37°) |
| OKLab | oklab(41.87% -0.0015 -0.1539) |
| OKLCH | oklch(41.87% 0.154 269.4) |
| XYZ | xyz(9.2283, 6.8408, 33.6282) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.40
Cobalt
#0047AB
ΔE00 4.17
Blueberry
#464196
ΔE00 4.35
Cobalt (survey)
#1E488F
ΔE00 5.09
Blue Blue
#2242C7
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D419F #9F8B2D
analogous
#2D7A9F #2D419F #522D9F
triadic
#2D419F #9F2D41 #419F2D
tetradic
#2D419F #9F2D7A #9F8B2D #2D9F52
square
#2D419F #9F2D7A #9F8B2D #2D9F52
split-complementary
#2D419F #9F522D #7A9F2D
monochromatic
#121A40 #202D6F #2D419F #4058C9 #7082D6
Accessibility & contrast
On white
8.87
#2D419F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2D419F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D419F
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D419F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D419F | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2d419f; /* rgb */ color: rgb(45, 65, 159); /* oklch */ color: oklch(41.9% 0.154 269.4);
Tailwind
colors: {
custom: {
50: '#7675bc',
500: '#2d419f',
950: '#000000',
},
}SCSS
$custom: #2d419f; $custom-light: #7675bc; $custom-dark: #000000;
JSON
{
"hex": "#2d419f",
"rgb": {
"r": 45,
"g": 65,
"b": 159
},
"hsl": {
"h": 229.474,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.41869,
"c": 0.15396,
"h": 269.4
},
"luminance": 0.06842
}Semantic roles & 50–950 ramp
primary
#2D419F
secondary
#BEAF6A
accent
#C549DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81