#4F54D2#4F54D2
#4F54D2 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.190 H 275.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4F54D2 |
|---|---|
| RGB | rgb(79, 84, 210) |
| HSL | hsl(238, 59%, 57%) |
| HSV | hsv(238, 62%, 82%) |
| CMYK | cmyk(62.4%, 60%, 0%, 17.6%) |
| CIE-LAB | lab(42.24, 36.23, -65.76) |
| CIE-LCH | lch(42.24, 75.08, 298.85°) |
| OKLab | oklab(51.67% 0.0191 -0.1893) |
| OKLCH | oklch(51.67% 0.19 275.8) |
| XYZ | xyz(18.0238, 12.6546, 62.4530) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.60
Iris
#6258C4
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 4.57
Dark Periwinkle
#665FD1
ΔE00 4.60
Light Indigo
#6D5ACF
ΔE00 5.04
Electric Blue
#0652FF
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F54D2 #D2CD4F
analogous
#4F96D2 #4F54D2 #8C4FD2
triadic
#4F54D2 #D24F54 #54D24F
tetradic
#4F54D2 #D24F96 #D2CD4F #4FD28C
square
#4F54D2 #D24F96 #D2CD4F #4FD28C
split-complementary
#4F54D2 #D28C4F #96D24F
monochromatic
#222685 #2E34B5 #4F54D2 #8083DE #B0B3EB
Accessibility & contrast
On white
5.95
#4F54D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#4F54D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F54D2
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F54D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F54D2 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005ECF
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4f54d2; /* rgb */ color: rgb(79, 84, 210); /* oklch */ color: oklch(51.7% 0.190 275.8);
Tailwind
colors: {
custom: {
50: '#8e84e1',
500: '#4f54d2',
950: '#000000',
},
}SCSS
$custom: #4f54d2; $custom-light: #8e84e1; $custom-dark: #000000;
JSON
{
"hex": "#4f54d2",
"rgb": {
"r": 79,
"g": 84,
"b": 210
},
"hsl": {
"h": 237.71,
"s": 59.276,
"l": 56.667
},
"oklch": {
"l": 0.51665,
"c": 0.19022,
"h": 275.8
},
"luminance": 0.12656
}Semantic roles & 50–950 ramp
primary
#4F54D2
secondary
#D9D7A4
accent
#DC45E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83