#4F54D9#4F54D9
#4F54D9 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.2% C 0.199 H 275.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #4F54D9 |
|---|---|
| RGB | rgb(79, 84, 217) |
| HSL | hsl(238, 64%, 58%) |
| HSV | hsv(238, 64%, 85%) |
| CMYK | cmyk(63.6%, 61.3%, 0%, 14.9%) |
| CIE-LAB | lab(42.78, 38.56, -68.89) |
| CIE-LCH | lch(42.78, 78.95, 299.23°) |
| OKLab | oklab(52.23% 0.0188 -0.1984) |
| OKLCH | oklch(52.23% 0.199 275.4) |
| XYZ | xyz(18.9151, 13.0111, 67.1468) |
| Luminance | 0.1301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.16
Iris
#6258C4
ΔE00 4.10
Dark Periwinkle
#665FD1
ΔE00 4.57
Slate Blue
#6A5ACD
ΔE00 4.64
Light Indigo
#6D5ACF
ΔE00 5.03
Electric Blue
#0652FF
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F54D9 #D9D44F
analogous
#4F99D9 #4F54D9 #8F4FD9
triadic
#4F54D9 #D94F54 #54D94F
tetradic
#4F54D9 #D94F99 #D9D44F #4FD98F
square
#4F54D9 #D94F99 #D9D44F #4FD98F
split-complementary
#4F54D9 #D98F4F #99D94F
monochromatic
#1F238F #2A2FC1 #4F54D9 #8185E4 #B4B6EF
Accessibility & contrast
On white
5.83
#4F54D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#4F54D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F54D9
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F54D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F54D9 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDD
Deuteranopia (green-blind)
#005FD6
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4f54d9; /* rgb */ color: rgb(79, 84, 217); /* oklch */ color: oklch(52.2% 0.199 275.4);
Tailwind
colors: {
custom: {
50: '#8f84e6',
500: '#4f54d9',
950: '#000000',
},
}SCSS
$custom: #4f54d9; $custom-light: #8f84e6; $custom-dark: #000000;
JSON
{
"hex": "#4f54d9",
"rgb": {
"r": 79,
"g": 84,
"b": 217
},
"hsl": {
"h": 237.826,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.52233,
"c": 0.19934,
"h": 275.4
},
"luminance": 0.13013
}Semantic roles & 50–950 ramp
primary
#4F54D9
secondary
#DDDBA6
accent
#E140E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84