#5462CE#5462CE
#5462CE is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.166 H 274.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5462CE |
|---|---|
| RGB | rgb(84, 98, 206) |
| HSL | hsl(233, 55%, 57%) |
| HSV | hsv(233, 59%, 81%) |
| CMYK | cmyk(59.2%, 52.4%, 0%, 19.2%) |
| CIE-LAB | lab(45.74, 27.07, -57.78) |
| CIE-LCH | lch(45.74, 63.81, 295.10°) |
| OKLab | oklab(54.27% 0.0115 -0.1655) |
| OKLCH | oklch(54.27% 0.166 274) |
| XYZ | xyz(19.1608, 15.0749, 60.2806) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.61
Warm Blue
#4B57DB
ΔE00 3.85
Royal Blue
#4169E1
ΔE00 4.37
Iris
#6258C4
ΔE00 4.79
Slate Blue
#6A5ACD
ΔE00 5.19
Cornflower Blue
#5170D7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5462CE #CEC054
analogous
#549FCE #5462CE #8354CE
triadic
#5462CE #CE5462 #62CE54
tetradic
#5462CE #CE549F #CEC054 #54CE83
square
#5462CE #CE549F #CEC054 #54CE83
split-complementary
#5462CE #CE8354 #9FCE54
monochromatic
#253082 #3342B2 #5462CE #848EDC #B3B9E9
Accessibility & contrast
On white
5.23
#5462CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#5462CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5462CE
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5462CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5462CE | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2272D2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#007B8E
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #5462ce; /* rgb */ color: rgb(84, 98, 206); /* oklch */ color: oklch(54.3% 0.166 274.0);
Tailwind
colors: {
custom: {
50: '#8f8ede',
500: '#5462ce',
950: '#000000',
},
}SCSS
$custom: #5462ce; $custom-light: #8f8ede; $custom-dark: #000000;
JSON
{
"hex": "#5462ce",
"rgb": {
"r": 84,
"g": 98,
"b": 206
},
"hsl": {
"h": 233.115,
"s": 55.455,
"l": 56.863
},
"oklch": {
"l": 0.54266,
"c": 0.16593,
"h": 274
},
"luminance": 0.15076
}Semantic roles & 50–950 ramp
primary
#5462CE
secondary
#D8D2A6
accent
#CE49DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83