#3F52B7#3F52B7
#3F52B7 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.160 H 271.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #3F52B7 |
|---|---|
| RGB | rgb(63, 82, 183) |
| HSL | hsl(231, 49%, 48%) |
| HSV | hsv(231, 66%, 72%) |
| CMYK | cmyk(65.6%, 55.2%, 0%, 28.2%) |
| CIE-LAB | lab(38.74, 25.64, -55.80) |
| CIE-LCH | lch(38.74, 61.41, 294.68°) |
| OKLab | oklab(48.17% 0.0031 -0.1604) |
| OKLCH | oklch(48.17% 0.16 271.1) |
| XYZ | xyz(13.6116, 10.5090, 46.1017) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.46
Blue Blue
#2242C7
ΔE00 5.41
Warm Blue
#4B57DB
ΔE00 5.55
Cobalt
#0047AB
ΔE00 5.83
Iris
#6258C4
ΔE00 6.18
Ocean Blue
#4F42B5
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F52B7 #B7A43F
analogous
#3F8EB7 #3F52B7 #683FB7
triadic
#3F52B7 #B73F52 #52B73F
tetradic
#3F52B7 #B73F8E #B7A43F #3FB768
square
#3F52B7 #B73F8E #B7A43F #3FB768
split-complementary
#3F52B7 #B7683F #8EB73F
monochromatic
#20295C #2F3E89 #3F52B7 #6878CB #96A1DB
Accessibility & contrast
On white
6.77
#3F52B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#3F52B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F52B7
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F52B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F52B7 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006A7C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3f52b7; /* rgb */ color: rgb(63, 82, 183); /* oklch */ color: oklch(48.2% 0.160 271.1);
Tailwind
colors: {
custom: {
50: '#8182cd',
500: '#3f52b7',
950: '#000000',
},
}SCSS
$custom: #3f52b7; $custom-light: #8182cd; $custom-dark: #000000;
JSON
{
"hex": "#3f52b7",
"rgb": {
"r": 63,
"g": 82,
"b": 183
},
"hsl": {
"h": 230.5,
"s": 48.78,
"l": 48.235
},
"oklch": {
"l": 0.48171,
"c": 0.16042,
"h": 271.1
},
"luminance": 0.1051
}Semantic roles & 50–950 ramp
primary
#3F52B7
secondary
#C6BD8B
accent
#C34FD8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82