#4F52CA#4F52CA
#4F52CA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.182 H 276.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4F52CA |
|---|---|
| RGB | rgb(79, 82, 202) |
| HSL | hsl(239, 54%, 55%) |
| HSV | hsv(239, 61%, 79%) |
| CMYK | cmyk(60.9%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(41.15, 34.81, -62.92) |
| CIE-LCH | lch(41.15, 71.90, 298.95°) |
| OKLab | oklab(50.67% 0.0211 -0.1809) |
| OKLCH | oklch(50.67% 0.182 276.6) |
| XYZ | xyz(16.8990, 11.9598, 57.2836) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.80
Iris
#6258C4
ΔE00 3.49
Slate Blue
#6A5ACD
ΔE00 4.85
Dark Periwinkle
#665FD1
ΔE00 5.18
Light Indigo
#6D5ACF
ΔE00 5.36
Ocean Blue
#4F42B5
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F52CA #CAC74F
analogous
#4F8FCA #4F52CA #8A4FCA
triadic
#4F52CA #CA4F52 #52CA4F
tetradic
#4F52CA #CA4F8F #CAC74F #4FCA8A
square
#4F52CA #CA4F8F #CAC74F #4FCA8A
split-complementary
#4F52CA #CA8A4F #8FCA4F
monochromatic
#25277A #3336A9 #4F52CA #7E80D8 #ADAEE6
Accessibility & contrast
On white
6.19
#4F52CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#4F52CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F52CA
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F52CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F52CA | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4f52ca; /* rgb */ color: rgb(79, 82, 202); /* oklch */ color: oklch(50.7% 0.182 276.6);
Tailwind
colors: {
custom: {
50: '#8c82db',
500: '#4f52ca',
950: '#000000',
},
}SCSS
$custom: #4f52ca; $custom-light: #8c82db; $custom-dark: #000000;
JSON
{
"hex": "#4f52ca",
"rgb": {
"r": 79,
"g": 82,
"b": 202
},
"hsl": {
"h": 238.537,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.50673,
"c": 0.18213,
"h": 276.6
},
"luminance": 0.11961
}Semantic roles & 50–950 ramp
primary
#4F52CA
secondary
#D4D3A1
accent
#DA4BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83