#5A6EE4#5A6EE4
#5A6EE4 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.5% C 0.179 H 272.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6EE4 |
|---|---|
| RGB | rgb(90, 110, 228) |
| HSL | hsl(231, 72%, 62%) |
| HSV | hsv(231, 61%, 89%) |
| CMYK | cmyk(60.5%, 51.8%, 0%, 10.6%) |
| CIE-LAB | lab(50.60, 28.04, -62.42) |
| CIE-LCH | lch(50.60, 68.43, 294.20°) |
| OKLab | oklab(58.48% 0.0076 -0.1789) |
| OKLCH | oklch(58.48% 0.179 272.4) |
| XYZ | xyz(23.7913, 18.9250, 75.7829) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.71
Royal Blue
#4169E1
ΔE00 3.59
Cornflower
#6A79F7
ΔE00 4.87
Bright Blue
#0165FC
ΔE00 5.92
Lightish Blue
#3D7AFD
ΔE00 6.26
Dark Periwinkle
#665FD1
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6EE4 #E4D05A
analogous
#5AB3E4 #5A6EE4 #8B5AE4
triadic
#5A6EE4 #E45A6E #6EE45A
tetradic
#5A6EE4 #E45AB3 #E4D05A #5AE48B
square
#5A6EE4 #E45AB3 #E4D05A #5AE48B
split-complementary
#5A6EE4 #E48B5A #B3E45A
monochromatic
#1C30A8 #2540DB #5A6EE4 #8F9CED #C3CAF5
Accessibility & contrast
On white
4.39
#5A6EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#5A6EE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A6EE4
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6EE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A6EE4 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#287FE8
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#00899E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #5a6ee4; /* rgb */ color: rgb(90, 110, 228); /* oklch */ color: oklch(58.5% 0.179 272.4);
Tailwind
colors: {
custom: {
50: '#9597ed',
500: '#5a6ee4',
950: '#000000',
},
}SCSS
$custom: #5a6ee4; $custom-light: #9597ed; $custom-dark: #000000;
JSON
{
"hex": "#5a6ee4",
"rgb": {
"r": 90,
"g": 110,
"b": 228
},
"hsl": {
"h": 231.304,
"s": 71.875,
"l": 62.353
},
"oklch": {
"l": 0.58483,
"c": 0.17905,
"h": 272.4
},
"luminance": 0.18927
}Semantic roles & 50–950 ramp
primary
#5A6EE4
secondary
#E6DFB4
accent
#B812D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84