#3F52E2#3F52E2
#3F52E2 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 51.7% C 0.217 H 270.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #3F52E2 |
|---|---|
| RGB | rgb(63, 82, 226) |
| HSL | hsl(233, 74%, 57%) |
| HSV | hsv(233, 72%, 89%) |
| CMYK | cmyk(72.1%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(42.12, 40.74, -75.13) |
| CIE-LCH | lch(42.12, 85.46, 298.47°) |
| OKLab | oklab(51.73% 0.0028 -0.2171) |
| OKLCH | oklch(51.73% 0.217 270.7) |
| XYZ | xyz(18.7900, 12.5804, 73.3748) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.84
Electric Blue
#0652FF
ΔE00 3.47
Azul
#1D5DEC
ΔE00 4.60
Blue (survey)
#0343DF
ΔE00 5.02
Iris
#6258C4
ΔE00 5.96
Dark Periwinkle
#665FD1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F52E2 #E2CF3F
analogous
#3FA4E2 #3F52E2 #7E3FE2
triadic
#3F52E2 #E23F52 #52E23F
tetradic
#3F52E2 #E23FA4 #E2CF3F #3FE27E
square
#3F52E2 #E23FA4 #E2CF3F #3FE27E
split-complementary
#3F52E2 #E27E3F #A4E23F
monochromatic
#162491 #1E31C6 #3F52E2 #7482EA #A9B2F2
Accessibility & contrast
On white
5.97
#3F52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#3F52E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F52E2
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F52E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F52E2 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3f52e2; /* rgb */ color: rgb(63, 82, 226); /* oklch */ color: oklch(51.7% 0.217 270.7);
Tailwind
colors: {
custom: {
50: '#8a82ec',
500: '#3f52e2',
950: '#000000',
},
}SCSS
$custom: #3f52e2; $custom-light: #8a82ec; $custom-dark: #000000;
JSON
{
"hex": "#3f52e2",
"rgb": {
"r": 63,
"g": 82,
"b": 226
},
"hsl": {
"h": 233.006,
"s": 73.756,
"l": 56.667
},
"oklch": {
"l": 0.51734,
"c": 0.21717,
"h": 270.7
},
"luminance": 0.12582
}Semantic roles & 50–950 ramp
primary
#3F52E2
secondary
#E0D89D
accent
#DB37F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84