#2D419C#2D419C
#2D419C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.150 H 269.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2D419C |
|---|---|
| RGB | rgb(45, 65, 156) |
| HSL | hsl(229, 55%, 39%) |
| HSV | hsv(229, 71%, 61%) |
| CMYK | cmyk(71.2%, 58.3%, 0%, 38.8%) |
| CIE-LAB | lab(31.20, 24.19, -51.97) |
| CIE-LCH | lch(31.20, 57.32, 294.96°) |
| OKLab | oklab(41.62% -0.0016 -0.1497) |
| OKLCH | oklch(41.62% 0.15 269.4) |
| XYZ | xyz(8.9712, 6.7379, 32.2738) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.71
Cobalt
#0047AB
ΔE00 4.26
Blueberry
#464196
ΔE00 4.31
Cobalt (survey)
#1E488F
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.86
Darkslateblue
#483D8B
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D419C #9C882D
analogous
#2D799C #2D419C #512D9C
triadic
#2D419C #9C2D41 #419C2D
tetradic
#2D419C #9C2D79 #9C882D #2D9C51
square
#2D419C #9C2D79 #9C882D #2D9C51
split-complementary
#2D419C #9C512D #799C2D
monochromatic
#12193D #1F2D6D #2D419C #3F57C8 #6E81D5
Accessibility & contrast
On white
8.94
#2D419C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2D419C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D419C
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D419C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D419C | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2d419c; /* rgb */ color: rgb(45, 65, 156); /* oklch */ color: oklch(41.6% 0.150 269.4);
Tailwind
colors: {
custom: {
50: '#7575ba',
500: '#2d419c',
950: '#000000',
},
}SCSS
$custom: #2d419c; $custom-light: #7575ba; $custom-dark: #000000;
JSON
{
"hex": "#2d419c",
"rgb": {
"r": 45,
"g": 65,
"b": 156
},
"hsl": {
"h": 229.189,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.41616,
"c": 0.14976,
"h": 269.4
},
"luminance": 0.06739
}Semantic roles & 50–950 ramp
primary
#2D419C
secondary
#BCAD68
accent
#C449DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81