#3F52B4#3F52B4
#3F52B4 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.156 H 271.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #3F52B4 |
|---|---|
| RGB | rgb(63, 82, 180) |
| HSL | hsl(230, 48%, 48%) |
| HSV | hsv(230, 65%, 71%) |
| CMYK | cmyk(65%, 54.4%, 0%, 29.4%) |
| CIE-LAB | lab(38.53, 24.57, -54.38) |
| CIE-LCH | lch(38.53, 59.68, 294.32°) |
| OKLab | oklab(47.94% 0.0029 -0.1562) |
| OKLCH | oklch(47.94% 0.156 271.1) |
| XYZ | xyz(13.3026, 10.3855, 44.4747) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.43
Blue Blue
#2242C7
ΔE00 5.61
Cobalt
#0047AB
ΔE00 5.68
Warm Blue
#4B57DB
ΔE00 5.95
Ocean Blue
#4F42B5
ΔE00 6.33
Denim Blue
#3B5B92
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F52B4 #B4A13F
analogous
#3F8DB4 #3F52B4 #663FB4
triadic
#3F52B4 #B43F52 #52B43F
tetradic
#3F52B4 #B43F8D #B4A13F #3FB466
square
#3F52B4 #B43F8D #B4A13F #3FB466
split-complementary
#3F52B4 #B4663F #8DB43F
monochromatic
#1F2959 #2F3D87 #3F52B4 #6777CA #949FDA
Accessibility & contrast
On white
6.82
#3F52B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#3F52B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F52B4
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F52B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F52B4 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0960B7
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3f52b4; /* rgb */ color: rgb(63, 82, 180); /* oklch */ color: oklch(47.9% 0.156 271.1);
Tailwind
colors: {
custom: {
50: '#8182cb',
500: '#3f52b4',
950: '#000000',
},
}SCSS
$custom: #3f52b4; $custom-light: #8182cb; $custom-dark: #000000;
JSON
{
"hex": "#3f52b4",
"rgb": {
"r": 63,
"g": 82,
"b": 180
},
"hsl": {
"h": 230.256,
"s": 48.148,
"l": 47.647
},
"oklch": {
"l": 0.47941,
"c": 0.15625,
"h": 271.1
},
"luminance": 0.10387
}Semantic roles & 50–950 ramp
primary
#3F52B4
secondary
#C5BB8A
accent
#C250D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A13
muted
#7C7C82