#4F52C8#4F52C8
#4F52C8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.179 H 276.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52C8 |
|---|---|
| RGB | rgb(79, 82, 200) |
| HSL | hsl(239, 52%, 55%) |
| HSV | hsv(239, 61%, 78%) |
| CMYK | cmyk(60.5%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(41.00, 34.15, -62.00) |
| CIE-LCH | lch(41.00, 70.78, 298.84°) |
| OKLab | oklab(50.51% 0.0211 -0.1782) |
| OKLCH | oklch(50.51% 0.179 276.7) |
| XYZ | xyz(16.6637, 11.8657, 56.0446) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.02
Iris
#6258C4
ΔE00 3.45
Slate Blue
#6A5ACD
ΔE00 4.91
Dark Periwinkle
#665FD1
ΔE00 5.27
Ocean Blue
#4F42B5
ΔE00 5.41
Light Indigo
#6D5ACF
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52C8 #C8C54F
analogous
#4F8FC8 #4F52C8 #884FC8
triadic
#4F52C8 #C84F52 #52C84F
tetradic
#4F52C8 #C84F8F #C8C54F #4FC888
square
#4F52C8 #C84F8F #C8C54F #4FC888
split-complementary
#4F52C8 #C8884F #8FC84F
monochromatic
#252777 #3437A6 #4F52C8 #7E80D7 #ACAEE5
Accessibility & contrast
On white
6.23
#4F52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#4F52C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52C8
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52C8 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4f52c8; /* rgb */ color: rgb(79, 82, 200); /* oklch */ color: oklch(50.5% 0.179 276.7);
Tailwind
colors: {
custom: {
50: '#8c82da',
500: '#4f52c8',
950: '#000000',
},
}SCSS
$custom: #4f52c8; $custom-light: #8c82da; $custom-dark: #000000;
JSON
{
"hex": "#4f52c8",
"rgb": {
"r": 79,
"g": 82,
"b": 200
},
"hsl": {
"h": 238.512,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.50514,
"c": 0.17947,
"h": 276.7
},
"luminance": 0.11867
}Semantic roles & 50–950 ramp
primary
#4F52C8
secondary
#D3D2A0
accent
#D84CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83