#3F4E8A#3F4E8A
#3F4E8A is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.1% C 0.100 H 271.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4E8A |
|---|---|
| RGB | rgb(63, 78, 138) |
| HSL | hsl(228, 37%, 39%) |
| HSV | hsv(228, 54%, 54%) |
| CMYK | cmyk(54.3%, 43.5%, 0%, 45.9%) |
| CIE-LAB | lab(34.68, 12.44, -35.34) |
| CIE-LCH | lch(34.68, 37.47, 289.40°) |
| OKLab | oklab(44.14% 0.0021 -0.1003) |
| OKLCH | oklch(44.14% 0.1 271.2) |
| XYZ | xyz(9.3602, 8.3399, 25.1563) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.39
Dusk
#4E5481
ΔE00 4.64
Cobalt (survey)
#1E488F
ΔE00 5.10
Denim Blue
#3B5B92
ΔE00 5.38
Dusky Blue
#475F94
ΔE00 5.81
Dusk Blue
#26538D
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4E8A #8A7B3F
analogous
#3F748A #3F4E8A #563F8A
triadic
#3F4E8A #8A3F4E #4E8A3F
tetradic
#3F4E8A #8A3F74 #8A7B3F #3F8A56
square
#3F4E8A #8A3F74 #8A7B3F #3F8A56
split-complementary
#3F4E8A #8A563F #748A3F
monochromatic
#191F36 #2C3660 #3F4E8A #5567B1 #7F8DC5
Accessibility & contrast
On white
7.87
#3F4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#3F4E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4E8A
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4E8A | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#2D4F89
Tritanopia (blue-blind)
#1B5B65
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3f4e8a; /* rgb */ color: rgb(63, 78, 138); /* oklch */ color: oklch(44.1% 0.100 271.2);
Tailwind
colors: {
custom: {
50: '#7a7fac',
500: '#3f4e8a',
950: '#000000',
},
}SCSS
$custom: #3f4e8a; $custom-light: #7a7fac; $custom-dark: #000000;
JSON
{
"hex": "#3f4e8a",
"rgb": {
"r": 63,
"g": 78,
"b": 138
},
"hsl": {
"h": 228,
"s": 37.313,
"l": 39.412
},
"oklch": {
"l": 0.44144,
"c": 0.10032,
"h": 271.2
},
"luminance": 0.08341
}Semantic roles & 50–950 ramp
primary
#3F4E8A
secondary
#AFA376
accent
#B65BCD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F