#4F52D6#4F52D6
#4F52D6 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.198 H 276.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52D6 |
|---|---|
| RGB | rgb(79, 82, 214) |
| HSL | hsl(239, 62%, 57%) |
| HSV | hsv(239, 63%, 84%) |
| CMYK | cmyk(63.1%, 61.7%, 0%, 16.1%) |
| CIE-LAB | lab(42.08, 38.78, -68.32) |
| CIE-LCH | lch(42.08, 78.56, 299.58°) |
| OKLab | oklab(51.64% 0.0206 -0.1968) |
| OKLCH | oklch(51.64% 0.198 276) |
| XYZ | xyz(18.3754, 12.5504, 65.0594) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.81
Iris
#6258C4
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.75
Dark Periwinkle
#665FD1
ΔE00 4.94
Light Indigo
#6D5ACF
ΔE00 5.15
Electric Blue
#0652FF
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52D6 #D6D34F
analogous
#4F95D6 #4F52D6 #904FD6
triadic
#4F52D6 #D64F52 #52D64F
tetradic
#4F52D6 #D64F95 #D6D34F #4FD690
square
#4F52D6 #D64F95 #D6D34F #4FD690
split-complementary
#4F52D6 #D6904F #95D64F
monochromatic
#20238A #2C2FBC #4F52D6 #8183E2 #B2B4ED
Accessibility & contrast
On white
5.98
#4F52D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#4F52D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52D6
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52D6 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4f52d6; /* rgb */ color: rgb(79, 82, 214); /* oklch */ color: oklch(51.6% 0.198 276.0);
Tailwind
colors: {
custom: {
50: '#8f83e4',
500: '#4f52d6',
950: '#000000',
},
}SCSS
$custom: #4f52d6; $custom-light: #8f83e4; $custom-dark: #000000;
JSON
{
"hex": "#4f52d6",
"rgb": {
"r": 79,
"g": 82,
"b": 214
},
"hsl": {
"h": 238.667,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.51644,
"c": 0.19787,
"h": 276
},
"luminance": 0.12552
}Semantic roles & 50–950 ramp
primary
#4F52D6
secondary
#DCDAA5
accent
#E243E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84