#3F518D#3F518D
#3F518D is a dark, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.101 H 269.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #3F518D |
|---|---|
| RGB | rgb(63, 81, 141) |
| HSL | hsl(226, 38%, 40%) |
| HSV | hsv(226, 55%, 55%) |
| CMYK | cmyk(55.3%, 42.6%, 0%, 44.7%) |
| CIE-LAB | lab(35.72, 11.51, -35.52) |
| CIE-LCH | lch(35.72, 37.34, 287.96°) |
| OKLab | oklab(45% -0.001 -0.1008) |
| OKLCH | oklch(45% 0.101 269.5) |
| XYZ | xyz(9.7985, 8.8640, 26.3887) |
| Luminance | 0.0887 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.79
Denim Blue
#3B5B92
ΔE00 4.27
Dusky Blue
#475F94
ΔE00 4.74
Dusk
#4E5481
ΔE00 4.81
Cobalt (survey)
#1E488F
ΔE00 5.03
Dusk Blue
#26538D
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F518D #8D7B3F
analogous
#3F788D #3F518D #543F8D
triadic
#3F518D #8D3F51 #518D3F
tetradic
#3F518D #8D3F78 #8D7B3F #3F8D54
square
#3F518D #8D3F78 #8D7B3F #3F8D54
split-complementary
#3F518D #8D543F #788D3F
monochromatic
#192038 #2C3963 #3F518D #566BB3 #8090C6
Accessibility & contrast
On white
7.57
#3F518D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#3F518D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F518D
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F518D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F518D | 1.00 | 7.57 | 2.77 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#38588F
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#175E68
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3f518d; /* rgb */ color: rgb(63, 81, 141); /* oklch */ color: oklch(45.0% 0.101 269.5);
Tailwind
colors: {
custom: {
50: '#7a81af',
500: '#3f518d',
950: '#000000',
},
}SCSS
$custom: #3f518d; $custom-light: #7a81af; $custom-dark: #000000;
JSON
{
"hex": "#3f518d",
"rgb": {
"r": 63,
"g": 81,
"b": 141
},
"hsl": {
"h": 226.154,
"s": 38.235,
"l": 40
},
"oklch": {
"l": 0.44999,
"c": 0.1008,
"h": 269.5
},
"luminance": 0.08865
}Semantic roles & 50–950 ramp
primary
#3F518D
secondary
#B1A377
accent
#B35ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F