#4F52CC#4F52CC
#4F52CC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.185 H 276.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52CC |
|---|---|
| RGB | rgb(79, 82, 204) |
| HSL | hsl(239, 55%, 55%) |
| HSV | hsv(239, 61%, 80%) |
| CMYK | cmyk(61.3%, 59.8%, 0%, 20%) |
| CIE-LAB | lab(41.30, 35.47, -63.83) |
| CIE-LCH | lch(41.30, 73.02, 299.06°) |
| OKLab | oklab(50.83% 0.021 -0.1836) |
| OKLCH | oklch(50.83% 0.185 276.5) |
| XYZ | xyz(17.1373, 12.0551, 58.5388) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.59
Iris
#6258C4
ΔE00 3.54
Slate Blue
#6A5ACD
ΔE00 4.80
Dark Periwinkle
#665FD1
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 5.30
Ocean Blue
#4F42B5
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52CC #CCC94F
analogous
#4F90CC #4F52CC #8A4FCC
triadic
#4F52CC #CC4F52 #52CC4F
tetradic
#4F52CC #CC4F90 #CCC94F #4FCC8A
square
#4F52CC #CC4F90 #CCC94F #4FCC8A
split-complementary
#4F52CC #CC8A4F #90CC4F
monochromatic
#24267D #3235AC #4F52CC #7E81DA #AEAFE7
Accessibility & contrast
On white
6.16
#4F52CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#4F52CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52CC
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52CC | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4f52cc; /* rgb */ color: rgb(79, 82, 204); /* oklch */ color: oklch(50.8% 0.185 276.5);
Tailwind
colors: {
custom: {
50: '#8d83dc',
500: '#4f52cc',
950: '#000000',
},
}SCSS
$custom: #4f52cc; $custom-light: #8d83dc; $custom-dark: #000000;
JSON
{
"hex": "#4f52cc",
"rgb": {
"r": 79,
"g": 82,
"b": 204
},
"hsl": {
"h": 238.56,
"s": 55.066,
"l": 55.49
},
"oklch": {
"l": 0.50832,
"c": 0.18479,
"h": 276.5
},
"luminance": 0.12056
}Semantic roles & 50–950 ramp
primary
#4F52CC
secondary
#D5D4A1
accent
#DB49DE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0A15
muted
#7E7C83