#3F52AB#3F52AB
#3F52AB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.144 H 270.9°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #3F52AB |
|---|---|
| RGB | rgb(63, 82, 171) |
| HSL | hsl(229, 46%, 46%) |
| HSV | hsv(229, 63%, 67%) |
| CMYK | cmyk(63.2%, 52%, 0%, 32.9%) |
| CIE-LAB | lab(37.90, 21.38, -50.08) |
| CIE-LCH | lch(37.90, 54.45, 293.12°) |
| OKLab | oklab(47.27% 0.0022 -0.1435) |
| OKLCH | oklch(47.27% 0.144 270.9) |
| XYZ | xyz(12.4154, 10.0306, 39.8020) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.59
Cobalt
#0047AB
ΔE00 5.44
Denim Blue
#3B5B92
ΔE00 5.48
Dusky Blue
#475F94
ΔE00 5.83
Cobalt (survey)
#1E488F
ΔE00 6.36
Blue Blue
#2242C7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F52AB #AB983F
analogous
#3F88AB #3F52AB #623FAB
triadic
#3F52AB #AB3F52 #52AB3F
tetradic
#3F52AB #AB3F88 #AB983F #3FAB62
square
#3F52AB #AB3F88 #AB983F #3FAB62
split-complementary
#3F52AB #AB623F #88AB3F
monochromatic
#1E2752 #2F3D7E #3F52AB #6273C5 #8F9BD6
Accessibility & contrast
On white
6.99
#3F52AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#3F52AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F52AB
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F52AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F52AB | 1.00 | 6.99 | 3.01 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5EAE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3f52ab; /* rgb */ color: rgb(63, 82, 171); /* oklch */ color: oklch(47.3% 0.144 270.9);
Tailwind
colors: {
custom: {
50: '#7f82c5',
500: '#3f52ab',
950: '#000000',
},
}SCSS
$custom: #3f52ab; $custom-light: #7f82c5; $custom-dark: #000000;
JSON
{
"hex": "#3f52ab",
"rgb": {
"r": 63,
"g": 82,
"b": 171
},
"hsl": {
"h": 229.444,
"s": 46.154,
"l": 45.882
},
"oklch": {
"l": 0.47267,
"c": 0.14357,
"h": 270.9
},
"luminance": 0.10032
}Semantic roles & 50–950 ramp
primary
#3F52AB
secondary
#C1B685
accent
#BF52D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82