#413F7D#413F7D
#413F7D is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.102 H 282.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #413F7D |
|---|---|
| RGB | rgb(65, 63, 125) |
| HSL | hsl(242, 33%, 37%) |
| HSV | hsv(242, 50%, 49%) |
| CMYK | cmyk(48%, 49.6%, 0%, 51%) |
| CIE-LAB | lab(29.81, 18.50, -35.05) |
| CIE-LCH | lch(29.81, 39.63, 297.82°) |
| OKLab | oklab(40.22% 0.0216 -0.0995) |
| OKLCH | oklch(40.22% 0.102 282.3) |
| XYZ | xyz(7.6580, 6.1591, 20.1834) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.34
Blueberry
#464196
ΔE00 4.58
Twilight
#4E518B
ΔE00 5.82
Dusk
#4E5481
ΔE00 7.22
Cobalt (survey)
#1E488F
ΔE00 8.60
Sapphire (survey)
#2138AB
ΔE00 9.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413F7D #7B7D3F
analogous
#3F5C7D #413F7D #603F7D
triadic
#413F7D #7D413F #3F7D41
tetradic
#413F7D #7D3F5C #7B7D3F #3F7D60
square
#413F7D #7D3F5C #7B7D3F #3F7D60
split-complementary
#413F7D #7D603F #5C7D3F
monochromatic
#17162C #2C2A54 #413F7D #5654A6 #7C7ABC
Accessibility & contrast
On white
9.41
#413F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#413F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413F7D
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413F7D | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25487F
Deuteranopia (green-blind)
#21447C
Tritanopia (blue-blind)
#2D4C58
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #413f7d; /* rgb */ color: rgb(65, 63, 125); /* oklch */ color: oklch(40.2% 0.102 282.3);
Tailwind
colors: {
custom: {
50: '#7a74a3',
500: '#413f7d',
950: '#000000',
},
}SCSS
$custom: #413f7d; $custom-light: #7a74a3; $custom-dark: #000000;
JSON
{
"hex": "#413f7d",
"rgb": {
"r": 65,
"g": 63,
"b": 125
},
"hsl": {
"h": 241.935,
"s": 32.979,
"l": 36.863
},
"oklch": {
"l": 0.40221,
"c": 0.10184,
"h": 282.3
},
"luminance": 0.06159
}Semantic roles & 50–950 ramp
primary
#413F7D
secondary
#A5A671
accent
#C95FC6
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09080F
muted
#7B7B7F