#3F398F#3F398F
#3F398F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.138 H 281.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #3F398F |
|---|---|
| RGB | rgb(63, 57, 143) |
| HSL | hsl(244, 43%, 39%) |
| HSV | hsv(244, 60%, 56%) |
| CMYK | cmyk(55.9%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(29.33, 27.96, -47.01) |
| CIE-LCH | lch(29.33, 54.70, 300.74°) |
| OKLab | oklab(40.22% 0.0272 -0.1348) |
| OKLCH | oklch(40.22% 0.138 281.4) |
| XYZ | xyz(8.4694, 5.9657, 26.6865) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 2.22
Blueberry
#464196
ΔE00 2.50
Sapphire (survey)
#2138AB
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 6.45
Rebeccapurple
#663399
ΔE00 8.13
Twilight
#4E518B
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F398F #898F39
analogous
#395E8F #3F398F #6A398F
triadic
#3F398F #8F3F39 #398F3F
tetradic
#3F398F #8F395E #898F39 #398F6A
square
#3F398F #8F395E #898F39 #398F6A
split-complementary
#3F398F #8F6A39 #5E8F39
monochromatic
#181637 #2C2863 #3F398F #554DB8 #7E79CA
Accessibility & contrast
On white
9.58
#3F398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#3F398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F398F
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F398F | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#1A4D5E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3f398f; /* rgb */ color: rgb(63, 57, 143); /* oklch */ color: oklch(40.2% 0.138 281.4);
Tailwind
colors: {
custom: {
50: '#7c6fb0',
500: '#3f398f',
950: '#000000',
},
}SCSS
$custom: #3f398f; $custom-light: #7c6fb0; $custom-dark: #000000;
JSON
{
"hex": "#3f398f",
"rgb": {
"r": 63,
"g": 57,
"b": 143
},
"hsl": {
"h": 244.186,
"s": 43,
"l": 39.216
},
"oklch": {
"l": 0.40219,
"c": 0.1375,
"h": 281.4
},
"luminance": 0.05966
}Semantic roles & 50–950 ramp
primary
#3F398F
secondary
#AEB371
accent
#D355CA
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0711
muted
#7C7A80