#3F478C#3F478C
#3F478C is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.8% C 0.113 H 275.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #3F478C |
|---|---|
| RGB | rgb(63, 71, 140) |
| HSL | hsl(234, 38%, 40%) |
| HSV | hsv(234, 55%, 55%) |
| CMYK | cmyk(55%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(32.82, 17.75, -39.53) |
| CIE-LCH | lch(32.82, 43.33, 294.18°) |
| OKLab | oklab(42.77% 0.011 -0.1127) |
| OKLCH | oklch(42.77% 0.113 275.6) |
| XYZ | xyz(9.0353, 7.4561, 25.7689) |
| Luminance | 0.0746 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.62
Twilight
#4E518B
ΔE00 4.15
Darkslateblue
#483D8B
ΔE00 4.57
Cobalt (survey)
#1E488F
ΔE00 5.71
Dusk
#4E5481
ΔE00 6.17
Cobalt
#0047AB
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F478C #8C843F
analogous
#3F6E8C #3F478C #5D3F8C
triadic
#3F478C #8C3F47 #478C3F
tetradic
#3F478C #8C3F6E #8C843F #3F8C5D
square
#3F478C #8C3F6E #8C843F #3F8C5D
split-complementary
#3F478C #8C5D3F #6E8C3F
monochromatic
#191C38 #2C3262 #3F478C #555FB3 #8087C6
Accessibility & contrast
On white
8.43
#3F478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#3F478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F478C
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F478C | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27518F
Deuteranopia (green-blind)
#1E4A8B
Tritanopia (blue-blind)
#1B5663
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3f478c; /* rgb */ color: rgb(63, 71, 140); /* oklch */ color: oklch(42.8% 0.113 275.6);
Tailwind
colors: {
custom: {
50: '#7a7aae',
500: '#3f478c',
950: '#000000',
},
}SCSS
$custom: #3f478c; $custom-light: #7a7aae; $custom-dark: #000000;
JSON
{
"hex": "#3f478c",
"rgb": {
"r": 63,
"g": 71,
"b": 140
},
"hsl": {
"h": 233.766,
"s": 37.931,
"l": 39.804
},
"oklch": {
"l": 0.42768,
"c": 0.11319,
"h": 275.6
},
"luminance": 0.07457
}Semantic roles & 50–950 ramp
primary
#3F478C
secondary
#B0AA77
accent
#C25ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F