#3F51AE#3F51AE
#3F51AE is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.149 H 271.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #3F51AE |
|---|---|
| RGB | rgb(63, 81, 174) |
| HSL | hsl(230, 47%, 46%) |
| HSV | hsv(230, 64%, 68%) |
| CMYK | cmyk(63.8%, 53.4%, 0%, 31.8%) |
| CIE-LAB | lab(37.84, 23.09, -51.95) |
| CIE-LCH | lch(37.84, 56.86, 293.96°) |
| OKLab | oklab(47.29% 0.0035 -0.1491) |
| OKLCH | oklch(47.29% 0.149 271.3) |
| XYZ | xyz(12.6297, 9.9965, 41.3001) |
| Luminance | 0.1000 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.62
Cobalt
#0047AB
ΔE00 5.40
Blue Blue
#2242C7
ΔE00 5.85
Denim Blue
#3B5B92
ΔE00 6.02
Ocean Blue
#4F42B5
ΔE00 6.30
Dusky Blue
#475F94
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F51AE #AE9C3F
analogous
#3F89AE #3F51AE #653FAE
triadic
#3F51AE #AE3F51 #51AE3F
tetradic
#3F51AE #AE3F89 #AE9C3F #3FAE65
square
#3F51AE #AE3F89 #AE9C3F #3FAE65
split-complementary
#3F51AE #AE653F #89AE3F
monochromatic
#1E2754 #2F3C81 #3F51AE #6474C7 #909CD7
Accessibility & contrast
On white
7.00
#3F51AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#3F51AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F51AE
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F51AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F51AE | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155EB1
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3f51ae; /* rgb */ color: rgb(63, 81, 174); /* oklch */ color: oklch(47.3% 0.149 271.3);
Tailwind
colors: {
custom: {
50: '#8081c7',
500: '#3f51ae',
950: '#000000',
},
}SCSS
$custom: #3f51ae; $custom-light: #8081c7; $custom-dark: #000000;
JSON
{
"hex": "#3f51ae",
"rgb": {
"r": 63,
"g": 81,
"b": 174
},
"hsl": {
"h": 230.27,
"s": 46.835,
"l": 46.471
},
"oklch": {
"l": 0.47288,
"c": 0.14912,
"h": 271.3
},
"luminance": 0.09998
}Semantic roles & 50–950 ramp
primary
#3F51AE
secondary
#C2B887
accent
#C151D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82