#5A61EA#5A61EA
#5A61EA is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 56.5% C 0.203 H 275.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5A61EA |
|---|---|
| RGB | rgb(90, 97, 234) |
| HSL | hsl(237, 77%, 64%) |
| HSV | hsv(237, 62%, 92%) |
| CMYK | cmyk(61.5%, 58.5%, 0%, 8.2%) |
| CIE-LAB | lab(47.83, 37.96, -70.28) |
| CIE-LCH | lch(47.83, 79.87, 298.38°) |
| OKLab | oklab(56.55% 0.0197 -0.2021) |
| OKLCH | oklch(56.55% 0.203 275.6) |
| XYZ | xyz(23.3376, 16.6617, 79.8121) |
| Luminance | 0.1666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.88
Warm Blue
#4B57DB
ΔE00 4.25
Royal Blue
#4169E1
ΔE00 5.10
Slate Blue
#6A5ACD
ΔE00 5.37
Light Indigo
#6D5ACF
ΔE00 5.45
Azul
#1D5DEC
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A61EA #EAE35A
analogous
#5AA9EA #5A61EA #9B5AEA
triadic
#5A61EA #EA5A61 #61EA5A
tetradic
#5A61EA #EA5AA9 #EAE35A #5AEA9B
square
#5A61EA #EA5AA9 #EAE35A #5AEA9B
split-complementary
#5A61EA #EA9B5A #A9EA5A
monochromatic
#171EB3 #242DE3 #5A61EA #9095F1 #C7C9F8
Accessibility & contrast
On white
4.85
#5A61EA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#5A61EA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A61EA
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A61EA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A61EA | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5a61ea; /* rgb */ color: rgb(90, 97, 234); /* oklch */ color: oklch(56.5% 0.203 275.6);
Tailwind
colors: {
custom: {
50: '#968ef2',
500: '#5a61ea',
950: '#000000',
},
}SCSS
$custom: #5a61ea; $custom-light: #968ef2; $custom-dark: #000000;
JSON
{
"hex": "#5a61ea",
"rgb": {
"r": 90,
"g": 97,
"b": 234
},
"hsl": {
"h": 237.083,
"s": 77.419,
"l": 63.529
},
"oklch": {
"l": 0.56547,
"c": 0.2031,
"h": 275.6
},
"luminance": 0.16664
}Semantic roles & 50–950 ramp
primary
#5A61EA
secondary
#E9E7B6
accent
#D00CDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85