#3F52C6#3F52C6
#3F52C6 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.181 H 271.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #3F52C6 |
|---|---|
| RGB | rgb(63, 82, 198) |
| HSL | hsl(232, 54%, 51%) |
| HSV | hsv(232, 68%, 78%) |
| CMYK | cmyk(68.2%, 58.6%, 0%, 22.4%) |
| CIE-LAB | lab(39.86, 30.96, -62.74) |
| CIE-LCH | lch(39.86, 69.97, 296.26°) |
| OKLab | oklab(49.36% 0.0035 -0.1808) |
| OKLCH | oklch(49.36% 0.181 271.1) |
| XYZ | xyz(15.2568, 11.1671, 54.7666) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.68
Blue Blue
#2242C7
ΔE00 4.96
Sapphire
#0F52BA
ΔE00 5.18
Blue (survey)
#0343DF
ΔE00 5.35
Iris
#6258C4
ΔE00 5.50
Azul
#1D5DEC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F52C6 #C6B33F
analogous
#3F95C6 #3F52C6 #6F3FC6
triadic
#3F52C6 #C63F52 #52C63F
tetradic
#3F52C6 #C63F95 #C6B33F #3FC66F
square
#3F52C6 #C63F95 #C6B33F #3FC66F
split-complementary
#3F52C6 #C66F3F #95C63F
monochromatic
#202A6B #2E3D9A #3F52C6 #6E7DD4 #9DA7E2
Accessibility & contrast
On white
6.49
#3F52C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#3F52C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F52C6
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F52C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F52C6 | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3f52c6; /* rgb */ color: rgb(63, 82, 198); /* oklch */ color: oklch(49.4% 0.181 271.1);
Tailwind
colors: {
custom: {
50: '#8482d8',
500: '#3f52c6',
950: '#000000',
},
}SCSS
$custom: #3f52c6; $custom-light: #8482d8; $custom-dark: #000000;
JSON
{
"hex": "#3f52c6",
"rgb": {
"r": 63,
"g": 82,
"b": 198
},
"hsl": {
"h": 231.556,
"s": 54.217,
"l": 51.176
},
"oklch": {
"l": 0.4936,
"c": 0.18084,
"h": 271.1
},
"luminance": 0.11169
}Semantic roles & 50–950 ramp
primary
#3F52C6
secondary
#CEC693
accent
#C94ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83