#3F4D8A#3F4D8A
#3F4D8A is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.102 H 271.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4D8A |
|---|---|
| RGB | rgb(63, 77, 138) |
| HSL | hsl(229, 37%, 39%) |
| HSV | hsv(229, 54%, 54%) |
| CMYK | cmyk(54.3%, 44.2%, 0%, 45.9%) |
| CIE-LAB | lab(34.39, 13.10, -35.80) |
| CIE-LCH | lch(34.39, 38.12, 290.10°) |
| OKLab | oklab(43.92% 0.0034 -0.1016) |
| OKLCH | oklch(43.92% 0.102 271.9) |
| XYZ | xyz(9.2897, 8.1989, 25.1328) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.36
Dusk
#4E5481
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.13
Denim Blue
#3B5B92
ΔE00 5.73
Blueberry
#464196
ΔE00 5.75
Dusky Blue
#475F94
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4D8A #8A7C3F
analogous
#3F738A #3F4D8A #573F8A
triadic
#3F4D8A #8A3F4D #4D8A3F
tetradic
#3F4D8A #8A3F73 #8A7C3F #3F8A57
square
#3F4D8A #8A3F73 #8A7C3F #3F8A57
split-complementary
#3F4D8A #8A573F #738A3F
monochromatic
#191E36 #2C3660 #3F4D8A #5566B1 #7F8CC5
Accessibility & contrast
On white
7.96
#3F4D8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#3F4D8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4D8A
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4D8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4D8A | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#1B5A64
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #3f4d8a; /* rgb */ color: rgb(63, 77, 138); /* oklch */ color: oklch(43.9% 0.102 271.9);
Tailwind
colors: {
custom: {
50: '#7a7eac',
500: '#3f4d8a',
950: '#000000',
},
}SCSS
$custom: #3f4d8a; $custom-light: #7a7eac; $custom-dark: #000000;
JSON
{
"hex": "#3f4d8a",
"rgb": {
"r": 63,
"g": 77,
"b": 138
},
"hsl": {
"h": 228.8,
"s": 37.313,
"l": 39.412
},
"oklch": {
"l": 0.43924,
"c": 0.10171,
"h": 271.9
},
"luminance": 0.08199
}Semantic roles & 50–950 ramp
primary
#3F4D8A
secondary
#AFA476
accent
#B85BCD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F