#4F51CA#4F51CA
#4F51CA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.183 H 276.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4F51CA |
|---|---|
| RGB | rgb(79, 81, 202) |
| HSL | hsl(239, 54%, 55%) |
| HSV | hsv(239, 61%, 79%) |
| CMYK | cmyk(60.9%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(40.91, 35.42, -63.31) |
| CIE-LCH | lch(40.91, 72.54, 299.23°) |
| OKLab | oklab(50.5% 0.022 -0.1821) |
| OKLCH | oklch(50.5% 0.183 276.9) |
| XYZ | xyz(16.8241, 11.8101, 57.2587) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.99
Iris
#6258C4
ΔE00 3.60
Slate Blue
#6A5ACD
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 5.28
Dark Periwinkle
#665FD1
ΔE00 5.38
Light Indigo
#6D5ACF
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F51CA #CAC84F
analogous
#4F8FCA #4F51CA #8A4FCA
triadic
#4F51CA #CA4F51 #51CA4F
tetradic
#4F51CA #CA4F8F #CAC84F #4FCA8A
square
#4F51CA #CA4F8F #CAC84F #4FCA8A
split-complementary
#4F51CA #CA8A4F #8FCA4F
monochromatic
#25267A #3335A9 #4F51CA #7E80D8 #ADAEE6
Accessibility & contrast
On white
6.25
#4F51CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#4F51CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F51CA
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F51CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F51CA | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4f51ca; /* rgb */ color: rgb(79, 81, 202); /* oklch */ color: oklch(50.5% 0.183 276.9);
Tailwind
colors: {
custom: {
50: '#8d82db',
500: '#4f51ca',
950: '#000000',
},
}SCSS
$custom: #4f51ca; $custom-light: #8d82db; $custom-dark: #000000;
JSON
{
"hex": "#4f51ca",
"rgb": {
"r": 79,
"g": 81,
"b": 202
},
"hsl": {
"h": 239.024,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.50496,
"c": 0.18339,
"h": 276.9
},
"luminance": 0.11811
}Semantic roles & 50–950 ramp
primary
#4F51CA
secondary
#D4D3A1
accent
#DB4BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83