#4F52D7#4F52D7
#4F52D7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.7% C 0.199 H 275.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52D7 |
|---|---|
| RGB | rgb(79, 82, 215) |
| HSL | hsl(239, 63%, 58%) |
| HSV | hsv(239, 63%, 84%) |
| CMYK | cmyk(63.3%, 61.9%, 0%, 15.7%) |
| CIE-LAB | lab(42.16, 39.11, -68.76) |
| CIE-LCH | lch(42.16, 79.11, 299.63°) |
| OKLab | oklab(51.73% 0.0206 -0.1981) |
| OKLCH | oklch(51.73% 0.199 275.9) |
| XYZ | xyz(18.5035, 12.6016, 65.7341) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.77
Iris
#6258C4
ΔE00 4.09
Slate Blue
#6A5ACD
ΔE00 4.76
Dark Periwinkle
#665FD1
ΔE00 4.94
Light Indigo
#6D5ACF
ΔE00 5.16
Electric Blue
#0652FF
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52D7 #D7D44F
analogous
#4F96D7 #4F52D7 #904FD7
triadic
#4F52D7 #D74F52 #52D74F
tetradic
#4F52D7 #D74F96 #D7D44F #4FD790
square
#4F52D7 #D74F96 #D7D44F #4FD790
split-complementary
#4F52D7 #D7904F #96D74F
monochromatic
#20228C #2B2EBE #4F52D7 #8183E2 #B3B4EE
Accessibility & contrast
On white
5.96
#4F52D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#4F52D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52D7
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52D7 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#005ED4
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4f52d7; /* rgb */ color: rgb(79, 82, 215); /* oklch */ color: oklch(51.7% 0.199 275.9);
Tailwind
colors: {
custom: {
50: '#8f83e4',
500: '#4f52d7',
950: '#000000',
},
}SCSS
$custom: #4f52d7; $custom-light: #8f83e4; $custom-dark: #000000;
JSON
{
"hex": "#4f52d7",
"rgb": {
"r": 79,
"g": 82,
"b": 215
},
"hsl": {
"h": 238.676,
"s": 62.963,
"l": 57.647
},
"oklch": {
"l": 0.51727,
"c": 0.19915,
"h": 275.9
},
"luminance": 0.12603
}Semantic roles & 50–950 ramp
primary
#4F52D7
secondary
#DCDBA6
accent
#E242E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84