#3F478D#3F478D
#3F478D is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.8% C 0.115 H 275.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #3F478D |
|---|---|
| RGB | rgb(63, 71, 141) |
| HSL | hsl(234, 38%, 40%) |
| HSV | hsv(234, 55%, 55%) |
| CMYK | cmyk(55.3%, 49.6%, 0%, 44.7%) |
| CIE-LAB | lab(32.89, 18.09, -40.04) |
| CIE-LCH | lch(32.89, 43.94, 294.31°) |
| OKLab | oklab(42.84% 0.0111 -0.1142) |
| OKLCH | oklch(42.84% 0.115 275.5) |
| XYZ | xyz(9.1093, 7.4857, 26.1590) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.50
Twilight
#4E518B
ΔE00 4.22
Darkslateblue
#483D8B
ΔE00 4.54
Cobalt (survey)
#1E488F
ΔE00 5.69
Dusk
#4E5481
ΔE00 6.29
Cobalt
#0047AB
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F478D #8D853F
analogous
#3F6E8D #3F478D #5E3F8D
triadic
#3F478D #8D3F47 #478D3F
tetradic
#3F478D #8D3F6E #8D853F #3F8D5E
square
#3F478D #8D3F6E #8D853F #3F8D5E
split-complementary
#3F478D #8D5E3F #6E8D3F
monochromatic
#191C38 #2C3263 #3F478D #565FB3 #8087C6
Accessibility & contrast
On white
8.41
#3F478D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#3F478D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F478D
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F478D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F478D | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#195663
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3f478d; /* rgb */ color: rgb(63, 71, 141); /* oklch */ color: oklch(42.8% 0.115 275.5);
Tailwind
colors: {
custom: {
50: '#7a7aaf',
500: '#3f478d',
950: '#000000',
},
}SCSS
$custom: #3f478d; $custom-light: #7a7aaf; $custom-dark: #000000;
JSON
{
"hex": "#3f478d",
"rgb": {
"r": 63,
"g": 71,
"b": 141
},
"hsl": {
"h": 233.846,
"s": 38.235,
"l": 40
},
"oklch": {
"l": 0.42838,
"c": 0.1147,
"h": 275.5
},
"luminance": 0.07486
}Semantic roles & 50–950 ramp
primary
#3F478D
secondary
#B1AB77
accent
#C25ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F