#413B8A#413B8A
#413B8A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.127 H 282.5°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #413B8A |
|---|---|
| RGB | rgb(65, 59, 138) |
| HSL | hsl(245, 40%, 39%) |
| HSV | hsv(245, 57%, 54%) |
| CMYK | cmyk(52.9%, 57.2%, 0%, 45.9%) |
| CIE-LAB | lab(29.63, 25.42, -43.43) |
| CIE-LCH | lch(29.63, 50.32, 300.34°) |
| OKLab | oklab(40.37% 0.0276 -0.1242) |
| OKLCH | oklch(40.37% 0.127 282.5) |
| XYZ | xyz(8.3300, 6.0863, 24.7757) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.39
Blueberry
#464196
ΔE00 2.44
Sapphire (survey)
#2138AB
ΔE00 6.55
Ocean Blue
#4F42B5
ΔE00 7.08
Twilight
#4E518B
ΔE00 7.32
Rebeccapurple
#663399
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413B8A #848A3B
analogous
#3B5C8A #413B8A #683B8A
triadic
#413B8A #8A413B #3B8A41
tetradic
#413B8A #8A3B5C #848A3B #3B8A68
square
#413B8A #8A3B5C #848A3B #3B8A68
split-complementary
#413B8A #8A683B #5C8A3B
monochromatic
#191634 #2D295F #413B8A #564FB4 #7F79C6
Accessibility & contrast
On white
9.47
#413B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#413B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413B8A
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413B8A | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07488D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#244D5C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #413b8a; /* rgb */ color: rgb(65, 59, 138); /* oklch */ color: oklch(40.4% 0.127 282.5);
Tailwind
colors: {
custom: {
50: '#7c71ad',
500: '#413b8a',
950: '#000000',
},
}SCSS
$custom: #413b8a; $custom-light: #7c71ad; $custom-dark: #000000;
JSON
{
"hex": "#413b8a",
"rgb": {
"r": 65,
"g": 59,
"b": 138
},
"hsl": {
"h": 244.557,
"s": 40.102,
"l": 38.627
},
"oklch": {
"l": 0.40368,
"c": 0.12719,
"h": 282.5
},
"luminance": 0.06087
}Semantic roles & 50–950 ramp
primary
#413B8A
secondary
#ABAF71
accent
#D058C7
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F