#3F418F#3F418F
#3F418F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.126 H 278.3°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3F418F |
|---|---|
| RGB | rgb(63, 65, 143) |
| HSL | hsl(239, 39%, 40%) |
| HSV | hsv(239, 56%, 56%) |
| CMYK | cmyk(55.9%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(31.39, 22.74, -43.67) |
| CIE-LCH | lch(31.39, 49.24, 297.50°) |
| OKLab | oklab(41.76% 0.0183 -0.1249) |
| OKLCH | oklch(41.76% 0.126 278.3) |
| XYZ | xyz(8.8966, 6.8199, 26.8289) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.79
Darkslateblue
#483D8B
ΔE00 2.76
Twilight
#4E518B
ΔE00 5.89
Sapphire (survey)
#2138AB
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.55
Cobalt (survey)
#1E488F
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F418F #8F8D3F
analogous
#3F698F #3F418F #653F8F
triadic
#3F418F #8F3F41 #418F3F
tetradic
#3F418F #8F3F69 #8F8D3F #3F8F65
square
#3F418F #8F3F69 #8F8D3F #3F8F65
split-complementary
#3F418F #8F653F #698F3F
monochromatic
#1A1A3A #2C2E65 #3F418F #5659B5 #8183C7
Accessibility & contrast
On white
8.88
#3F418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#3F418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F418F
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F418F | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#144D92
Deuteranopia (green-blind)
#04478D
Tritanopia (blue-blind)
#185361
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3f418f; /* rgb */ color: rgb(63, 65, 143); /* oklch */ color: oklch(41.8% 0.126 278.3);
Tailwind
colors: {
custom: {
50: '#7b75b0',
500: '#3f418f',
950: '#000000',
},
}SCSS
$custom: #3f418f; $custom-light: #7b75b0; $custom-dark: #000000;
JSON
{
"hex": "#3f418f",
"rgb": {
"r": 63,
"g": 65,
"b": 143
},
"hsl": {
"h": 238.5,
"s": 38.835,
"l": 40.392
},
"oklch": {
"l": 0.41756,
"c": 0.12622,
"h": 278.3
},
"luminance": 0.06821
}Semantic roles & 50–950 ramp
primary
#3F418F
secondary
#B2B078
accent
#CC59CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F