#5A5DE3#5A5DE3
#5A5DE3 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.3% C 0.199 H 276.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5A5DE3 |
|---|---|
| RGB | rgb(90, 93, 227) |
| HSL | hsl(239, 71%, 62%) |
| HSV | hsv(239, 60%, 89%) |
| CMYK | cmyk(60.4%, 59%, 0%, 11%) |
| CIE-LAB | lab(46.37, 38.10, -68.69) |
| CIE-LCH | lch(46.37, 78.55, 299.01°) |
| OKLab | oklab(55.31% 0.0234 -0.1975) |
| OKLCH | oklch(55.31% 0.199 276.7) |
| XYZ | xyz(21.9914, 15.5467, 74.5001) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.94
Dark Periwinkle
#665FD1
ΔE00 3.00
Slate Blue
#6A5ACD
ΔE00 4.18
Light Indigo
#6D5ACF
ΔE00 4.36
Iris
#6258C4
ΔE00 4.85
Azul
#1D5DEC
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A5DE3 #E3E05A
analogous
#5AA2E3 #5A5DE3 #9C5AE3
triadic
#5A5DE3 #E35A5D #5DE35A
tetradic
#5A5DE3 #E35AA2 #E3E05A #5AE39C
square
#5A5DE3 #E35AA2 #E3E05A #5AE39C
split-complementary
#5A5DE3 #E39C5A #A2E35A
monochromatic
#1C1FA6 #262ADA #5A5DE3 #8E90EC #C3C4F5
Accessibility & contrast
On white
5.11
#5A5DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#5A5DE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A5DE3
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A5DE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A5DE3 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5a5de3; /* rgb */ color: rgb(90, 93, 227); /* oklch */ color: oklch(55.3% 0.199 276.7);
Tailwind
colors: {
custom: {
50: '#968bed',
500: '#5a5de3',
950: '#000000',
},
}SCSS
$custom: #5a5de3; $custom-light: #968bed; $custom-dark: #000000;
JSON
{
"hex": "#5a5de3",
"rgb": {
"r": 90,
"g": 93,
"b": 227
},
"hsl": {
"h": 238.686,
"s": 70.984,
"l": 62.157
},
"oklch": {
"l": 0.55308,
"c": 0.1989,
"h": 276.7
},
"luminance": 0.15548
}Semantic roles & 50–950 ramp
primary
#5A5DE3
secondary
#E6E4B3
accent
#CF12D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84