#5460E1#5460E1
#5460E1 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.194 H 274.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5460E1 |
|---|---|
| RGB | rgb(84, 96, 225) |
| HSL | hsl(235, 70%, 61%) |
| HSV | hsv(235, 63%, 88%) |
| CMYK | cmyk(62.7%, 57.3%, 0%, 11.8%) |
| CIE-LAB | lab(46.56, 34.65, -67.28) |
| CIE-LCH | lch(46.56, 75.68, 297.25°) |
| OKLab | oklab(55.3% 0.014 -0.1935) |
| OKLCH | oklch(55.3% 0.194 274.1) |
| XYZ | xyz(21.4251, 15.6850, 73.1180) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.08
Dark Periwinkle
#665FD1
ΔE00 3.56
Royal Blue
#4169E1
ΔE00 4.43
Azul
#1D5DEC
ΔE00 4.63
Slate Blue
#6A5ACD
ΔE00 5.10
Light Indigo
#6D5ACF
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5460E1 #E1D554
analogous
#54A6E1 #5460E1 #8F54E1
triadic
#5460E1 #E15460 #60E154
tetradic
#5460E1 #E154A6 #E1D554 #54E18F
square
#5460E1 #E154A6 #E1D554 #54E18F
split-complementary
#5460E1 #E18F54 #A6E154
monochromatic
#1C279F #2534D3 #5460E1 #8890EA #BCC1F3
Accessibility & contrast
On white
5.08
#5460E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5460E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5460E1
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5460E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5460E1 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5460e1; /* rgb */ color: rgb(84, 96, 225); /* oklch */ color: oklch(55.3% 0.194 274.1);
Tailwind
colors: {
custom: {
50: '#928deb',
500: '#5460e1',
950: '#000000',
},
}SCSS
$custom: #5460e1; $custom-light: #928deb; $custom-dark: #000000;
JSON
{
"hex": "#5460e1",
"rgb": {
"r": 84,
"g": 96,
"b": 225
},
"hsl": {
"h": 234.894,
"s": 70.149,
"l": 60.588
},
"oklch": {
"l": 0.55298,
"c": 0.194,
"h": 274.1
},
"luminance": 0.15687
}Semantic roles & 50–950 ramp
primary
#5460E1
secondary
#E3DFAE
accent
#C213D2
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84