#4F54D6#4F54D6
#4F54D6 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.0% C 0.195 H 275.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4F54D6 |
|---|---|
| RGB | rgb(79, 84, 214) |
| HSL | hsl(238, 62%, 57%) |
| HSV | hsv(238, 63%, 84%) |
| CMYK | cmyk(63.1%, 60.7%, 0%, 16.1%) |
| CIE-LAB | lab(42.55, 37.56, -67.56) |
| CIE-LCH | lch(42.55, 77.30, 299.07°) |
| OKLab | oklab(51.99% 0.0189 -0.1945) |
| OKLCH | oklch(51.99% 0.195 275.6) |
| XYZ | xyz(18.5284, 12.8564, 65.1104) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.29
Iris
#6258C4
ΔE00 3.89
Dark Periwinkle
#665FD1
ΔE00 4.56
Slate Blue
#6A5ACD
ΔE00 4.59
Light Indigo
#6D5ACF
ΔE00 5.02
Electric Blue
#0652FF
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F54D6 #D6D14F
analogous
#4F97D6 #4F54D6 #8E4FD6
triadic
#4F54D6 #D64F54 #54D64F
tetradic
#4F54D6 #D64F97 #D6D14F #4FD68E
square
#4F54D6 #D64F97 #D6D14F #4FD68E
split-complementary
#4F54D6 #D68E4F #97D64F
monochromatic
#20248A #2C31BC #4F54D6 #8184E2 #B2B4ED
Accessibility & contrast
On white
5.88
#4F54D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#4F54D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F54D6
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F54D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F54D6 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#005FD3
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4f54d6; /* rgb */ color: rgb(79, 84, 214); /* oklch */ color: oklch(52.0% 0.195 275.6);
Tailwind
colors: {
custom: {
50: '#8e84e4',
500: '#4f54d6',
950: '#000000',
},
}SCSS
$custom: #4f54d6; $custom-light: #8e84e4; $custom-dark: #000000;
JSON
{
"hex": "#4f54d6",
"rgb": {
"r": 79,
"g": 84,
"b": 214
},
"hsl": {
"h": 237.778,
"s": 62.212,
"l": 57.451
},
"oklch": {
"l": 0.51988,
"c": 0.19545,
"h": 275.6
},
"luminance": 0.12858
}Semantic roles & 50–950 ramp
primary
#4F54D6
secondary
#DCDAA5
accent
#DF43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84