#3F419D#3F419D
#3F419D is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.146 H 277.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3F419D |
|---|---|
| RGB | rgb(63, 65, 157) |
| HSL | hsl(239, 43%, 43%) |
| HSV | hsv(239, 60%, 62%) |
| CMYK | cmyk(59.9%, 58.6%, 0%, 38.4%) |
| CIE-LAB | lab(32.42, 27.54, -50.55) |
| CIE-LCH | lch(32.42, 57.57, 298.58°) |
| OKLab | oklab(42.84% 0.0187 -0.1451) |
| OKLCH | oklch(42.84% 0.146 277.3) |
| XYZ | xyz(10.0240, 7.2709, 32.7670) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 1.80
Darkslateblue
#483D8B
ΔE00 3.96
Sapphire (survey)
#2138AB
ΔE00 4.39
Ocean Blue
#4F42B5
ΔE00 4.49
Blue Blue
#2242C7
ΔE00 6.22
Cobalt
#0047AB
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F419D #9D9B3F
analogous
#3F709D #3F419D #6C3F9D
triadic
#3F419D #9D3F41 #419D3F
tetradic
#3F419D #9D3F70 #9D9B3F #3F9D6C
square
#3F419D #9D3F70 #9D9B3F #3F9D6C
split-complementary
#3F419D #9D6C3F #709D3F
monochromatic
#1C1D46 #2D2F71 #3F419D #5C5EBD #8789CF
Accessibility & contrast
On white
8.56
#3F419D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#3F419D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F419D
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F419D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F419D | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #3f419d; /* rgb */ color: rgb(63, 65, 157); /* oklch */ color: oklch(42.8% 0.146 277.3);
Tailwind
colors: {
custom: {
50: '#7d75bb',
500: '#3f419d',
950: '#000000',
},
}SCSS
$custom: #3f419d; $custom-light: #7d75bb; $custom-dark: #000000;
JSON
{
"hex": "#3f419d",
"rgb": {
"r": 63,
"g": 65,
"b": 157
},
"hsl": {
"h": 238.723,
"s": 42.727,
"l": 43.137
},
"oklch": {
"l": 0.42843,
"c": 0.14632,
"h": 277.3
},
"luminance": 0.07272
}Semantic roles & 50–950 ramp
primary
#3F419D
secondary
#BAB87E
accent
#D055D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81