#5462DC#5462DC
#5462DC is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.3% C 0.185 H 273.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5462DC |
|---|---|
| RGB | rgb(84, 98, 220) |
| HSL | hsl(234, 66%, 60%) |
| HSV | hsv(234, 62%, 86%) |
| CMYK | cmyk(61.8%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(46.69, 31.75, -64.23) |
| CIE-LCH | lch(46.69, 71.65, 296.30°) |
| OKLab | oklab(55.29% 0.0121 -0.1845) |
| OKLCH | oklch(55.29% 0.185 273.8) |
| XYZ | xyz(20.9378, 15.7858, 69.6398) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.51
Dark Periwinkle
#665FD1
ΔE00 3.58
Royal Blue
#4169E1
ΔE00 3.88
Azul
#1D5DEC
ΔE00 4.71
Cornflower Blue
#5170D7
ΔE00 5.14
Slate Blue
#6A5ACD
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5462DC #DCCE54
analogous
#54A6DC #5462DC #8A54DC
triadic
#5462DC #DC5462 #62DC54
tetradic
#5462DC #DC54A6 #DCCE54 #54DC8A
square
#5462DC #DC54A6 #DCCE54 #54DC8A
split-complementary
#5462DC #DC8A54 #A6DC54
monochromatic
#1F2B97 #293ACA #5462DC #8791E6 #BABFF1
Accessibility & contrast
On white
5.05
#5462DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#5462DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5462DC
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5462DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5462DC | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#007F95
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5462dc; /* rgb */ color: rgb(84, 98, 220); /* oklch */ color: oklch(55.3% 0.185 273.8);
Tailwind
colors: {
custom: {
50: '#918ee8',
500: '#5462dc',
950: '#000000',
},
}SCSS
$custom: #5462dc; $custom-light: #918ee8; $custom-dark: #000000;
JSON
{
"hex": "#5462dc",
"rgb": {
"r": 84,
"g": 98,
"b": 220
},
"hsl": {
"h": 233.824,
"s": 66.019,
"l": 59.608
},
"oklch": {
"l": 0.55285,
"c": 0.18489,
"h": 273.8
},
"luminance": 0.15787
}Semantic roles & 50–950 ramp
primary
#5462DC
secondary
#E0DBAC
accent
#D73FE9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84