#413F98#413F98
#413F98 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.142 H 279.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #413F98 |
|---|---|
| RGB | rgb(65, 63, 152) |
| HSL | hsl(241, 41%, 42%) |
| HSV | hsv(241, 59%, 60%) |
| CMYK | cmyk(57.2%, 58.6%, 0%, 40.4%) |
| CIE-LAB | lab(31.68, 27.51, -48.70) |
| CIE-LCH | lch(31.68, 55.93, 299.47°) |
| OKLab | oklab(42.22% 0.0232 -0.1396) |
| OKLCH | oklch(42.22% 0.142 279.4) |
| XYZ | xyz(9.6232, 6.9452, 30.5331) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.10
Darkslateblue
#483D8B
ΔE00 2.93
Sapphire (survey)
#2138AB
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 4.93
Twilight
#4E518B
ΔE00 7.10
Blue Blue
#2242C7
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#413F98 #96983F
analogous
#3F6A98 #413F98 #6D3F98
triadic
#413F98 #98413F #3F9841
tetradic
#413F98 #983F6A #96983F #3F986D
square
#413F98 #983F6A #96983F #3F986D
split-complementary
#413F98 #986D3F #6A983F
monochromatic
#1C1B41 #2E2D6D #413F98 #5C5ABA #8785CC
Accessibility & contrast
On white
8.79
#413F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#413F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #413F98
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##413F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##413F98 | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#135465
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #413f98; /* rgb */ color: rgb(65, 63, 152); /* oklch */ color: oklch(42.2% 0.142 279.4);
Tailwind
colors: {
custom: {
50: '#7e74b7',
500: '#413f98',
950: '#000000',
},
}SCSS
$custom: #413f98; $custom-light: #7e74b7; $custom-dark: #000000;
JSON
{
"hex": "#413f98",
"rgb": {
"r": 65,
"g": 63,
"b": 152
},
"hsl": {
"h": 241.348,
"s": 41.395,
"l": 42.157
},
"oklch": {
"l": 0.42218,
"c": 0.14156,
"h": 279.4
},
"luminance": 0.06946
}Semantic roles & 50–950 ramp
primary
#413F98
secondary
#B6B77C
accent
#D157CE
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80