#3F4FA7#3F4FA7
#3F4FA7 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.142 H 272.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4FA7 |
|---|---|
| RGB | rgb(63, 79, 167) |
| HSL | hsl(231, 45%, 45%) |
| HSV | hsv(231, 62%, 65%) |
| CMYK | cmyk(62.3%, 52.7%, 0%, 34.5%) |
| CIE-LAB | lab(36.81, 21.92, -49.44) |
| CIE-LCH | lch(36.81, 54.08, 293.91°) |
| OKLab | oklab(46.36% 0.0049 -0.1417) |
| OKLCH | oklch(46.36% 0.142 272) |
| XYZ | xyz(11.8186, 9.4378, 37.7506) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 5.19
Cobalt
#0047AB
ΔE00 5.22
Blueberry
#464196
ΔE00 5.63
Cobalt (survey)
#1E488F
ΔE00 5.98
Denim Blue
#3B5B92
ΔE00 6.00
Twilight
#4E518B
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4FA7 #A7973F
analogous
#3F83A7 #3F4FA7 #633FA7
triadic
#3F4FA7 #A73F4F #4FA73F
tetradic
#3F4FA7 #A73F83 #A7973F #3FA763
square
#3F4FA7 #A73F83 #A7973F #3FA763
split-complementary
#3F4FA7 #A7633F #83A73F
monochromatic
#1D254E #2E3A7B #3F4FA7 #606FC3 #8D98D4
Accessibility & contrast
On white
7.27
#3F4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#3F4FA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4FA7
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4FA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4FA7 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B5BAA
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #3f4fa7; /* rgb */ color: rgb(63, 79, 167); /* oklch */ color: oklch(46.4% 0.142 272.0);
Tailwind
colors: {
custom: {
50: '#7e80c2',
500: '#3f4fa7',
950: '#000000',
},
}SCSS
$custom: #3f4fa7; $custom-light: #7e80c2; $custom-dark: #000000;
JSON
{
"hex": "#3f4fa7",
"rgb": {
"r": 63,
"g": 79,
"b": 167
},
"hsl": {
"h": 230.769,
"s": 45.217,
"l": 45.098
},
"oklch": {
"l": 0.46362,
"c": 0.14181,
"h": 272
},
"luminance": 0.09439
}Semantic roles & 50–950 ramp
primary
#3F4FA7
secondary
#BFB683
accent
#C153D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A12
muted
#7C7C81