#5462BE#5462BE
#5462BE is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.2% C 0.144 H 274.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #5462BE |
|---|---|
| RGB | rgb(84, 98, 190) |
| HSL | hsl(232, 45%, 54%) |
| HSV | hsv(232, 56%, 75%) |
| CMYK | cmyk(55.8%, 48.4%, 0%, 25.5%) |
| CIE-LAB | lab(44.71, 21.75, -50.20) |
| CIE-LCH | lch(44.71, 54.71, 293.43°) |
| OKLab | oklab(53.16% 0.01 -0.1432) |
| OKLCH | oklch(53.16% 0.144 274) |
| XYZ | xyz(17.3151, 14.3367, 50.5600) |
| Luminance | 0.1434 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.77
Iris
#6258C4
ΔE00 4.96
Warm Blue
#4B57DB
ΔE00 5.31
Royal Blue
#4169E1
ΔE00 5.77
Slate Blue
#6A5ACD
ΔE00 5.95
Cornflower Blue
#5170D7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5462BE #BEB054
analogous
#5497BE #5462BE #7B54BE
triadic
#5462BE #BE5462 #62BE54
tetradic
#5462BE #BE5497 #BEB054 #54BE7B
square
#5462BE #BE5497 #BEB054 #54BE7B
split-complementary
#5462BE #BE7B54 #97BE54
monochromatic
#2A336E #3B479A #5462BE #808BCF #ADB3E0
Accessibility & contrast
On white
5.43
#5462BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#5462BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5462BE
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5462BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5462BE | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366EC1
Deuteranopia (green-blind)
#2765BC
Tritanopia (blue-blind)
#197687
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5462be; /* rgb */ color: rgb(84, 98, 190); /* oklch */ color: oklch(53.2% 0.144 274.0);
Tailwind
colors: {
custom: {
50: '#8c8ed2',
500: '#5462be',
950: '#000000',
},
}SCSS
$custom: #5462be; $custom-light: #8c8ed2; $custom-dark: #000000;
JSON
{
"hex": "#5462be",
"rgb": {
"r": 84,
"g": 98,
"b": 190
},
"hsl": {
"h": 232.075,
"s": 44.915,
"l": 53.725
},
"oklch": {
"l": 0.53164,
"c": 0.14357,
"h": 274
},
"luminance": 0.14338
}Semantic roles & 50–950 ramp
primary
#5462BE
secondary
#CEC8A0
accent
#C453D5
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C14
muted
#7E7D83