#5460CD#5460CD
#5460CD is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.8% C 0.167 H 274.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #5460CD |
|---|---|
| RGB | rgb(84, 96, 205) |
| HSL | hsl(234, 55%, 57%) |
| HSV | hsv(234, 59%, 80%) |
| CMYK | cmyk(59%, 53.2%, 0%, 19.6%) |
| CIE-LAB | lab(45.16, 27.98, -58.14) |
| CIE-LCH | lch(45.16, 64.52, 295.70°) |
| OKLab | oklab(53.81% 0.0134 -0.1666) |
| OKLCH | oklch(53.81% 0.167 274.6) |
| XYZ | xyz(18.8549, 14.6569, 59.5812) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.36
Dark Periwinkle
#665FD1
ΔE00 3.36
Iris
#6258C4
ΔE00 4.21
Slate Blue
#6A5ACD
ΔE00 4.76
Royal Blue
#4169E1
ΔE00 4.94
Light Indigo
#6D5ACF
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5460CD #CDC154
analogous
#549CCD #5460CD #8554CD
triadic
#5460CD #CD5460 #60CD54
tetradic
#5460CD #CD549C #CDC154 #54CD85
square
#5460CD #CD549C #CDC154 #54CD85
split-complementary
#5460CD #CD8554 #9CCD54
monochromatic
#262F81 #3440B0 #5460CD #838CDB #B3B8E9
Accessibility & contrast
On white
5.34
#5460CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#5460CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5460CD
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5460CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5460CD | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C70D1
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5460cd; /* rgb */ color: rgb(84, 96, 205); /* oklch */ color: oklch(53.8% 0.167 274.6);
Tailwind
colors: {
custom: {
50: '#8f8ddd',
500: '#5460cd',
950: '#000000',
},
}SCSS
$custom: #5460cd; $custom-light: #8f8ddd; $custom-dark: #000000;
JSON
{
"hex": "#5460cd",
"rgb": {
"r": 84,
"g": 96,
"b": 205
},
"hsl": {
"h": 234.05,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.53812,
"c": 0.16713,
"h": 274.6
},
"luminance": 0.14658
}Semantic roles & 50–950 ramp
primary
#5460CD
secondary
#D7D2A6
accent
#CF4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83