#41398F#41398F
#41398F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.4% C 0.137 H 282.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #41398F |
|---|---|
| RGB | rgb(65, 57, 143) |
| HSL | hsl(246, 43%, 39%) |
| HSV | hsv(246, 60%, 56%) |
| CMYK | cmyk(54.5%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(29.49, 28.37, -46.73) |
| CIE-LCH | lch(29.49, 54.67, 301.26°) |
| OKLab | oklab(40.39% 0.0298 -0.1339) |
| OKLCH | oklch(40.39% 0.137 282.6) |
| XYZ | xyz(8.5995, 6.0327, 26.6926) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.98
Blueberry
#464196
ΔE00 2.47
Sapphire (survey)
#2138AB
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 6.37
Rebeccapurple
#663399
ΔE00 7.76
Twilight
#4E518B
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#41398F #878F39
analogous
#395C8F #41398F #6C398F
triadic
#41398F #8F4139 #398F41
tetradic
#41398F #8F395C #878F39 #398F6C
square
#41398F #8F395C #878F39 #398F6C
split-complementary
#41398F #8F6C39 #5C8F39
monochromatic
#191637 #2D2863 #41398F #574DB8 #8079CA
Accessibility & contrast
On white
9.52
#41398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#41398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #41398F
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##41398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##41398F | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#204D5E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #41398f; /* rgb */ color: rgb(65, 57, 143); /* oklch */ color: oklch(40.4% 0.137 282.6);
Tailwind
colors: {
custom: {
50: '#7d6fb0',
500: '#41398f',
950: '#000000',
},
}SCSS
$custom: #41398f; $custom-light: #7d6fb0; $custom-dark: #000000;
JSON
{
"hex": "#41398f",
"rgb": {
"r": 65,
"g": 57,
"b": 143
},
"hsl": {
"h": 245.581,
"s": 43,
"l": 39.216
},
"oklch": {
"l": 0.40386,
"c": 0.13717,
"h": 282.6
},
"luminance": 0.06033
}Semantic roles & 50–950 ramp
primary
#41398F
secondary
#ADB371
accent
#D355C7
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80