#3F428E#3F428E
#3F428E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.123 H 277.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #3F428E |
|---|---|
| RGB | rgb(63, 66, 142) |
| HSL | hsl(238, 39%, 40%) |
| HSV | hsv(238, 56%, 56%) |
| CMYK | cmyk(55.6%, 53.5%, 0%, 44.3%) |
| CIE-LAB | lab(31.59, 21.74, -42.74) |
| CIE-LCH | lch(31.59, 47.95, 296.96°) |
| OKLab | oklab(41.88% 0.0171 -0.1221) |
| OKLCH | oklch(41.88% 0.123 277.9) |
| XYZ | xyz(8.8791, 6.9056, 26.4510) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.08
Darkslateblue
#483D8B
ΔE00 2.99
Twilight
#4E518B
ΔE00 5.54
Sapphire (survey)
#2138AB
ΔE00 6.35
Cobalt (survey)
#1E488F
ΔE00 6.68
Ocean Blue
#4F42B5
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F428E #8E8B3F
analogous
#3F698E #3F428E #643F8E
triadic
#3F428E #8E3F42 #428E3F
tetradic
#3F428E #8E3F69 #8E8B3F #3F8E64
square
#3F428E #8E3F69 #8E8B3F #3F8E64
split-complementary
#3F428E #8E643F #698E3F
monochromatic
#191B39 #2C2E64 #3F428E #565AB4 #8183C7
Accessibility & contrast
On white
8.82
#3F428E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#3F428E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F428E
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F428E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F428E | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#0B478C
Tritanopia (blue-blind)
#195361
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #3f428e; /* rgb */ color: rgb(63, 66, 142); /* oklch */ color: oklch(41.9% 0.123 277.9);
Tailwind
colors: {
custom: {
50: '#7b76b0',
500: '#3f428e',
950: '#000000',
},
}SCSS
$custom: #3f428e; $custom-light: #7b76b0; $custom-dark: #000000;
JSON
{
"hex": "#3f428e",
"rgb": {
"r": 63,
"g": 66,
"b": 142
},
"hsl": {
"h": 237.722,
"s": 38.537,
"l": 40.196
},
"oklch": {
"l": 0.41882,
"c": 0.12332,
"h": 277.9
},
"luminance": 0.06906
}Semantic roles & 50–950 ramp
primary
#3F428E
secondary
#B1AF78
accent
#CA59CE
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F