#5A5AED#5A5AED
#5A5AED is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.6% C 0.215 H 276.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5AED |
|---|---|
| RGB | rgb(90, 90, 237) |
| HSL | hsl(240, 80%, 64%) |
| HSV | hsv(240, 62%, 93%) |
| CMYK | cmyk(62%, 62%, 0%, 7.1%) |
| CIE-LAB | lab(46.44, 43.12, -74.22) |
| CIE-LCH | lch(46.44, 85.84, 300.15°) |
| OKLab | oklab(55.6% 0.0255 -0.2138) |
| OKLCH | oklch(55.6% 0.215 276.8) |
| XYZ | xyz(23.1537, 15.5986, 81.8950) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.49
Dark Periwinkle
#665FD1
ΔE00 4.11
Slate Blue
#6A5ACD
ΔE00 4.86
Light Indigo
#6D5ACF
ΔE00 4.90
Electric Blue
#0652FF
ΔE00 5.33
Iris
#6258C4
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5AED #EDED5A
analogous
#5AA4ED #5A5AED #A45AED
triadic
#5A5AED #ED5A5A #5AED5A
tetradic
#5A5AED #ED5AA4 #EDED5A #5AEDA4
square
#5A5AED #ED5AA4 #EDED5A #5AEDA4
split-complementary
#5A5AED #EDA45A #A4ED5A
monochromatic
#1414B8 #2323E7 #5A5AED #9191F3 #C8C8F9
Accessibility & contrast
On white
5.10
#5A5AED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#5A5AED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5AED
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5AED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5AED | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a5aed; /* rgb */ color: rgb(90, 90, 237); /* oklch */ color: oklch(55.6% 0.215 276.8);
Tailwind
colors: {
custom: {
50: '#9789f4',
500: '#5a5aed',
950: '#000000',
},
}SCSS
$custom: #5a5aed; $custom-light: #9789f4; $custom-dark: #000000;
JSON
{
"hex": "#5a5aed",
"rgb": {
"r": 90,
"g": 90,
"b": 237
},
"hsl": {
"h": 240,
"s": 80.328,
"l": 64.118
},
"oklch": {
"l": 0.55596,
"c": 0.2153,
"h": 276.8
},
"luminance": 0.156
}Semantic roles & 50–950 ramp
primary
#5A5AED
secondary
#EBEBB8
accent
#DD09DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0B17
muted
#7F7C85