#3F4E8B#3F4E8B
#3F4E8B is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.102 H 271.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4E8B |
|---|---|
| RGB | rgb(63, 78, 139) |
| HSL | hsl(228, 38%, 40%) |
| HSV | hsv(228, 55%, 55%) |
| CMYK | cmyk(54.7%, 43.9%, 0%, 45.5%) |
| CIE-LAB | lab(34.74, 12.79, -35.86) |
| CIE-LCH | lch(34.74, 38.07, 289.63°) |
| OKLab | oklab(44.21% 0.0023 -0.1018) |
| OKLCH | oklch(44.21% 0.102 271.3) |
| XYZ | xyz(9.4330, 8.3690, 25.5394) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.42
Dusk
#4E5481
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.05
Denim Blue
#3B5B92
ΔE00 5.36
Dusky Blue
#475F94
ΔE00 5.79
Dusk Blue
#26538D
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4E8B #8B7C3F
analogous
#3F748B #3F4E8B #563F8B
triadic
#3F4E8B #8B3F4E #4E8B3F
tetradic
#3F4E8B #8B3F74 #8B7C3F #3F8B56
square
#3F4E8B #8B3F74 #8B7C3F #3F8B56
split-complementary
#3F4E8B #8B563F #748B3F
monochromatic
#191F37 #2C3661 #3F4E8B #5567B2 #7F8DC5
Accessibility & contrast
On white
7.85
#3F4E8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#3F4E8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4E8B
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4E8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4E8B | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34558D
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#1A5B65
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3f4e8b; /* rgb */ color: rgb(63, 78, 139); /* oklch */ color: oklch(44.2% 0.102 271.3);
Tailwind
colors: {
custom: {
50: '#7a7fad',
500: '#3f4e8b',
950: '#000000',
},
}SCSS
$custom: #3f4e8b; $custom-light: #7a7fad; $custom-dark: #000000;
JSON
{
"hex": "#3f4e8b",
"rgb": {
"r": 63,
"g": 78,
"b": 139
},
"hsl": {
"h": 228.158,
"s": 37.624,
"l": 39.608
},
"oklch": {
"l": 0.44208,
"c": 0.10185,
"h": 271.3
},
"luminance": 0.0837
}Semantic roles & 50–950 ramp
primary
#3F4E8B
secondary
#AFA476
accent
#B75ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0A10
muted
#7C7C7F