#3F5178#3F5178
#3F5178 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.069 H 264.8°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3F5178 |
|---|---|
| RGB | rgb(63, 81, 120) |
| HSL | hsl(221, 31%, 36%) |
| HSV | hsv(221, 48%, 47%) |
| CMYK | cmyk(47.5%, 32.5%, 0%, 52.9%) |
| CIE-LAB | lab(34.59, 4.47, -24.38) |
| CIE-LCH | lch(34.59, 24.79, 280.39°) |
| OKLab | oklab(43.76% -0.0062 -0.0684) |
| OKLCH | oklch(43.76% 0.069 264.8) |
| XYZ | xyz(8.3814, 8.2972, 18.9255) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 4.24
Twilight
#4E518B
ΔE00 5.28
Denim Blue
#3B5B92
ΔE00 5.50
Dusk Blue
#26538D
ΔE00 5.92
Dusky Blue
#475F94
ΔE00 5.96
Light Navy Blue
#2E5A88
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F5178 #78663F
analogous
#3F6D78 #3F5178 #493F78
triadic
#3F5178 #783F51 #51783F
tetradic
#3F5178 #783F6D #78663F #3F7849
square
#3F5178 #783F6D #78663F #3F7849
split-complementary
#3F5178 #78493F #6D783F
monochromatic
#151B28 #2A3650 #3F5178 #546CA0 #798DB9
Accessibility & contrast
On white
7.90
#3F5178 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#3F5178 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F5178
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F5178 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F5178 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#43547A
Deuteranopia (green-blind)
#3D4F77
Tritanopia (blue-blind)
#29595F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3f5178; /* rgb */ color: rgb(63, 81, 120); /* oklch */ color: oklch(43.8% 0.069 264.8);
Tailwind
colors: {
custom: {
50: '#77819f',
500: '#3f5178',
950: '#000000',
},
}SCSS
$custom: #3f5178; $custom-light: #77819f; $custom-dark: #000000;
JSON
{
"hex": "#3f5178",
"rgb": {
"r": 63,
"g": 81,
"b": 120
},
"hsl": {
"h": 221.053,
"s": 31.148,
"l": 35.882
},
"oklch": {
"l": 0.4376,
"c": 0.06864,
"h": 264.8
},
"luminance": 0.08298
}Semantic roles & 50–950 ramp
primary
#3F5178
secondary
#A39370
accent
#A760C7
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0E
muted
#7B7C7E