#413E98#413E98
#413E98 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.0% C 0.143 H 279.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #413E98 |
|---|---|
| RGB | rgb(65, 62, 152) |
| HSL | hsl(242, 42%, 42%) |
| HSV | hsv(242, 59%, 60%) |
| CMYK | cmyk(57.2%, 59.2%, 0%, 40.4%) |
| CIE-LAB | lab(31.43, 28.16, -49.11) |
| CIE-LCH | lch(31.43, 56.61, 299.83°) |
| OKLab | oklab(42.03% 0.0243 -0.1408) |
| OKLCH | oklch(42.03% 0.143 279.8) |
| XYZ | xyz(9.5683, 6.8354, 30.5148) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.26
Darkslateblue
#483D8B
ΔE00 2.87
Sapphire (survey)
#2138AB
ΔE00 4.79
Ocean Blue
#4F42B5
ΔE00 4.92
Blue Blue
#2242C7
ΔE00 7.22
Twilight
#4E518B
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413E98 #95983E
analogous
#3E6898 #413E98 #6E3E98
triadic
#413E98 #98413E #3E9841
tetradic
#413E98 #983E68 #95983E #3E986E
square
#413E98 #983E68 #95983E #3E986E
split-complementary
#413E98 #986E3E #68983E
monochromatic
#1C1B41 #2E2C6D #413E98 #5C58BB #8684CD
Accessibility & contrast
On white
8.87
#413E98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#413E98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413E98
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413E98 | 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)
#004D9B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#135365
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #413e98; /* rgb */ color: rgb(65, 62, 152); /* oklch */ color: oklch(42.0% 0.143 279.8);
Tailwind
colors: {
custom: {
50: '#7e73b7',
500: '#413e98',
950: '#000000',
},
}SCSS
$custom: #413e98; $custom-light: #7e73b7; $custom-dark: #000000;
JSON
{
"hex": "#413e98",
"rgb": {
"r": 65,
"g": 62,
"b": 152
},
"hsl": {
"h": 242,
"s": 42.056,
"l": 41.961
},
"oklch": {
"l": 0.42031,
"c": 0.14293,
"h": 279.8
},
"luminance": 0.06836
}Semantic roles & 50–950 ramp
primary
#413E98
secondary
#B5B77B
accent
#D256CE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0811
muted
#7C7B80