#3F4E87#3F4E87
#3F4E87 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.096 H 270.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4E87 |
|---|---|
| RGB | rgb(63, 78, 135) |
| HSL | hsl(228, 36%, 39%) |
| HSV | hsv(228, 53%, 53%) |
| CMYK | cmyk(53.3%, 42.2%, 0%, 47.1%) |
| CIE-LAB | lab(34.51, 11.42, -33.78) |
| CIE-LCH | lch(34.51, 35.66, 288.68°) |
| OKLab | oklab(43.95% 0.0015 -0.0957) |
| OKLCH | oklch(43.95% 0.096 270.9) |
| XYZ | xyz(9.1460, 8.2542, 24.0282) |
| Luminance | 0.0825 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.37
Dusk
#4E5481
ΔE00 4.31
Cobalt (survey)
#1E488F
ΔE00 5.25
Denim Blue
#3B5B92
ΔE00 5.46
Dusky Blue
#475F94
ΔE00 5.87
Dusk Blue
#26538D
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4E87 #87783F
analogous
#3F7287 #3F4E87 #543F87
triadic
#3F4E87 #873F4E #4E873F
tetradic
#3F4E87 #873F72 #87783F #3F8754
square
#3F4E87 #873F72 #87783F #3F8754
split-complementary
#3F4E87 #87543F #72873F
monochromatic
#181E34 #2C365D #3F4E87 #5467AF #7E8CC3
Accessibility & contrast
On white
7.92
#3F4E87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#3F4E87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4E87
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4E87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4E87 | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375489
Deuteranopia (green-blind)
#2F4E86
Tritanopia (blue-blind)
#1E5A64
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3f4e87; /* rgb */ color: rgb(63, 78, 135); /* oklch */ color: oklch(44.0% 0.096 270.9);
Tailwind
colors: {
custom: {
50: '#797faa',
500: '#3f4e87',
950: '#000000',
},
}SCSS
$custom: #3f4e87; $custom-light: #797faa; $custom-dark: #000000;
JSON
{
"hex": "#3f4e87",
"rgb": {
"r": 63,
"g": 78,
"b": 135
},
"hsl": {
"h": 227.5,
"s": 36.364,
"l": 38.824
},
"oklch": {
"l": 0.43954,
"c": 0.09574,
"h": 270.9
},
"luminance": 0.08255
}Semantic roles & 50–950 ramp
primary
#3F4E87
secondary
#ADA175
accent
#B55BCC
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F