#5A6EDD#5A6EDD
#5A6EDD is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.0% C 0.170 H 272.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5A6EDD |
|---|---|
| RGB | rgb(90, 110, 221) |
| HSL | hsl(231, 66%, 61%) |
| HSV | hsv(231, 59%, 87%) |
| CMYK | cmyk(59.3%, 50.2%, 0%, 13.3%) |
| CIE-LAB | lab(50.15, 25.72, -59.19) |
| CIE-LCH | lch(50.15, 64.54, 293.49°) |
| OKLab | oklab(58% 0.007 -0.1694) |
| OKLCH | oklch(58% 0.17 272.4) |
| XYZ | xyz(22.8392, 18.5442, 70.7684) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.13
Royal Blue
#4169E1
ΔE00 3.39
Cornflower
#6A79F7
ΔE00 5.49
Dark Periwinkle
#665FD1
ΔE00 6.14
Bright Blue
#0165FC
ΔE00 6.15
Cerulean Blue
#056EEE
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A6EDD #DDC95A
analogous
#5AAFDD #5A6EDD #875ADD
triadic
#5A6EDD #DD5A6E #6EDD5A
tetradic
#5A6EDD #DD5AAF #DDC95A #5ADD87
square
#5A6EDD #DD5AAF #DDC95A #5ADD87
split-complementary
#5A6EDD #DD875A #AFDD5A
monochromatic
#20339C #2B44CF #5A6EDD #8D9BE7 #BFC7F2
Accessibility & contrast
On white
4.46
#5A6EDD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#5A6EDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A6EDD
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A6EDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A6EDD | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#327DE1
Deuteranopia (green-blind)
#1472DB
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #5a6edd; /* rgb */ color: rgb(90, 110, 221); /* oklch */ color: oklch(58.0% 0.170 272.4);
Tailwind
colors: {
custom: {
50: '#9497e8',
500: '#5a6edd',
950: '#000000',
},
}SCSS
$custom: #5a6edd; $custom-light: #9497e8; $custom-dark: #000000;
JSON
{
"hex": "#5a6edd",
"rgb": {
"r": 90,
"g": 110,
"b": 221
},
"hsl": {
"h": 230.84,
"s": 65.829,
"l": 60.98
},
"oklch": {
"l": 0.58,
"c": 0.16955,
"h": 272.4
},
"luminance": 0.18546
}Semantic roles & 50–950 ramp
primary
#5A6EDD
secondary
#E2DBB1
accent
#B218CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84