#3F4A8A#3F4A8A
#3F4A8A is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.3% C 0.106 H 273.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4A8A |
|---|---|
| RGB | rgb(63, 74, 138) |
| HSL | hsl(231, 37%, 39%) |
| HSV | hsv(231, 54%, 54%) |
| CMYK | cmyk(54.3%, 46.4%, 0%, 45.9%) |
| CIE-LAB | lab(33.54, 15.08, -37.16) |
| CIE-LCH | lch(33.54, 40.10, 292.09°) |
| OKLab | oklab(43.27% 0.0071 -0.1057) |
| OKLCH | oklch(43.27% 0.106 273.8) |
| XYZ | xyz(9.0847, 7.7887, 25.0645) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.53
Blueberry
#464196
ΔE00 4.78
Dusk
#4E5481
ΔE00 5.27
Cobalt (survey)
#1E488F
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 5.69
Denim Blue
#3B5B92
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4A8A #8A7F3F
analogous
#3F708A #3F4A8A #5A3F8A
triadic
#3F4A8A #8A3F4A #4A8A3F
tetradic
#3F4A8A #8A3F70 #8A7F3F #3F8A5A
square
#3F4A8A #8A3F70 #8A7F3F #3F8A5A
split-complementary
#3F4A8A #8A5A3F #708A3F
monochromatic
#191D36 #2C3360 #3F4A8A #5562B1 #7F89C5
Accessibility & contrast
On white
8.21
#3F4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#3F4A8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4A8A
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4A8A | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#264C89
Tritanopia (blue-blind)
#1C5863
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3f4a8a; /* rgb */ color: rgb(63, 74, 138); /* oklch */ color: oklch(43.3% 0.106 273.8);
Tailwind
colors: {
custom: {
50: '#7a7cac',
500: '#3f4a8a',
950: '#000000',
},
}SCSS
$custom: #3f4a8a; $custom-light: #7a7cac; $custom-dark: #000000;
JSON
{
"hex": "#3f4a8a",
"rgb": {
"r": 63,
"g": 74,
"b": 138
},
"hsl": {
"h": 231.2,
"s": 37.313,
"l": 39.412
},
"oklch": {
"l": 0.43271,
"c": 0.1059,
"h": 273.8
},
"luminance": 0.07789
}Semantic roles & 50–950 ramp
primary
#3F4A8A
secondary
#AFA676
accent
#BC5BCD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0910
muted
#7C7B7F