#4F62D5#4F62D5
#4F62D5 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.5% C 0.177 H 272.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #4F62D5 |
|---|---|
| RGB | rgb(79, 98, 213) |
| HSL | hsl(231, 61%, 57%) |
| HSV | hsv(231, 63%, 84%) |
| CMYK | cmyk(62.9%, 54%, 0%, 16.5%) |
| CIE-LAB | lab(45.91, 28.55, -61.53) |
| CIE-LCH | lch(45.91, 67.83, 294.89°) |
| OKLab | oklab(54.47% 0.0066 -0.1767) |
| OKLCH | oklch(54.47% 0.177 272.1) |
| XYZ | xyz(19.5984, 15.2000, 64.8390) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.52
Warm Blue
#4B57DB
ΔE00 3.58
Dark Periwinkle
#665FD1
ΔE00 4.22
Azul
#1D5DEC
ΔE00 4.35
Cornflower Blue
#5170D7
ΔE00 4.90
Iris
#6258C4
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F62D5 #D5C24F
analogous
#4FA5D5 #4F62D5 #7F4FD5
triadic
#4F62D5 #D54F62 #62D54F
tetradic
#4F62D5 #D54FA5 #D5C24F #4FD57F
square
#4F62D5 #D54FA5 #D5C24F #4FD57F
split-complementary
#4F62D5 #D57F4F #A5D54F
monochromatic
#212F89 #2C41BA #4F62D5 #808EE1 #B2BAED
Accessibility & contrast
On white
5.20
#4F62D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#4F62D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F62D5
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F62D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F62D5 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D73D9
Deuteranopia (green-blind)
#0067D3
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4f62d5; /* rgb */ color: rgb(79, 98, 213); /* oklch */ color: oklch(54.5% 0.177 272.1);
Tailwind
colors: {
custom: {
50: '#8d8ee3',
500: '#4f62d5',
950: '#000000',
},
}SCSS
$custom: #4f62d5; $custom-light: #8d8ee3; $custom-dark: #000000;
JSON
{
"hex": "#4f62d5",
"rgb": {
"r": 79,
"g": 98,
"b": 213
},
"hsl": {
"h": 231.493,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.54465,
"c": 0.17679,
"h": 272.1
},
"luminance": 0.15202
}Semantic roles & 50–950 ramp
primary
#4F62D5
secondary
#DBD3A5
accent
#CE43E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84