#2D419D#2D419D
#2D419D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.151 H 269.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2D419D |
|---|---|
| RGB | rgb(45, 65, 157) |
| HSL | hsl(229, 55%, 40%) |
| HSV | hsv(229, 71%, 62%) |
| CMYK | cmyk(71.3%, 58.6%, 0%, 38.4%) |
| CIE-LAB | lab(31.28, 24.57, -52.44) |
| CIE-LCH | lch(31.28, 57.91, 295.10°) |
| OKLab | oklab(41.7% -0.0016 -0.1511) |
| OKLCH | oklch(41.7% 0.151 269.4) |
| XYZ | xyz(9.0562, 6.7719, 32.7216) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Cobalt
#0047AB
ΔE00 4.22
Blueberry
#464196
ΔE00 4.32
Cobalt (survey)
#1E488F
ΔE00 4.91
Blue Blue
#2242C7
ΔE00 5.71
Darkslateblue
#483D8B
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D419D #9D892D
analogous
#2D799D #2D419D #512D9D
triadic
#2D419D #9D2D41 #419D2D
tetradic
#2D419D #9D2D79 #9D892D #2D9D51
square
#2D419D #9D2D79 #9D892D #2D9D51
split-complementary
#2D419D #9D512D #799D2D
monochromatic
#121A3E #1F2D6D #2D419D #3F58C8 #6F81D6
Accessibility & contrast
On white
8.92
#2D419D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2D419D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D419D
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D419D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D419D | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00459B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2d419d; /* rgb */ color: rgb(45, 65, 157); /* oklch */ color: oklch(41.7% 0.151 269.4);
Tailwind
colors: {
custom: {
50: '#7575bb',
500: '#2d419d',
950: '#000000',
},
}SCSS
$custom: #2d419d; $custom-light: #7575bb; $custom-dark: #000000;
JSON
{
"hex": "#2d419d",
"rgb": {
"r": 45,
"g": 65,
"b": 157
},
"hsl": {
"h": 229.286,
"s": 55.446,
"l": 39.608
},
"oklch": {
"l": 0.417,
"c": 0.15116,
"h": 269.4
},
"luminance": 0.06773
}Semantic roles & 50–950 ramp
primary
#2D419D
secondary
#BDAE69
accent
#C449DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81