#5A5AEB#5A5AEB
#5A5AEB is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.4% C 0.213 H 276.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5AEB |
|---|---|
| RGB | rgb(90, 90, 235) |
| HSL | hsl(240, 78%, 64%) |
| HSV | hsv(240, 62%, 92%) |
| CMYK | cmyk(61.7%, 61.7%, 0%, 7.8%) |
| CIE-LAB | lab(46.29, 42.48, -73.35) |
| CIE-LCH | lch(46.29, 84.76, 300.07°) |
| OKLab | oklab(55.43% 0.0256 -0.2112) |
| OKLCH | oklch(55.43% 0.213 276.9) |
| XYZ | xyz(22.8631, 15.4823, 80.3647) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.29
Dark Periwinkle
#665FD1
ΔE00 3.91
Slate Blue
#6A5ACD
ΔE00 4.67
Light Indigo
#6D5ACF
ΔE00 4.73
Electric Blue
#0652FF
ΔE00 5.36
Iris
#6258C4
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5AEB #EBEB5A
analogous
#5AA2EB #5A5AEB #A25AEB
triadic
#5A5AEB #EB5A5A #5AEB5A
tetradic
#5A5AEB #EB5AA2 #EBEB5A #5AEBA2
square
#5A5AEB #EB5AA2 #EBEB5A #5AEBA2
split-complementary
#5A5AEB #EBA25A #A2EB5A
monochromatic
#1616B5 #2323E4 #5A5AEB #9191F2 #C7C7F8
Accessibility & contrast
On white
5.13
#5A5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#5A5AEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5AEB
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5AEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5AEB | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0067E8
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a5aeb; /* rgb */ color: rgb(90, 90, 235); /* oklch */ color: oklch(55.4% 0.213 276.9);
Tailwind
colors: {
custom: {
50: '#9789f2',
500: '#5a5aeb',
950: '#000000',
},
}SCSS
$custom: #5a5aeb; $custom-light: #9789f2; $custom-dark: #000000;
JSON
{
"hex": "#5a5aeb",
"rgb": {
"r": 90,
"g": 90,
"b": 235
},
"hsl": {
"h": 240,
"s": 78.378,
"l": 63.725
},
"oklch": {
"l": 0.55434,
"c": 0.21278,
"h": 276.9
},
"luminance": 0.15484
}Semantic roles & 50–950 ramp
primary
#5A5AEB
secondary
#EAEAB7
accent
#DB0BDB
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85