#5A65E7#5A65E7
#5A65E7 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.194 H 274.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #5A65E7 |
|---|---|
| RGB | rgb(90, 101, 231) |
| HSL | hsl(235, 75%, 63%) |
| HSV | hsv(235, 61%, 91%) |
| CMYK | cmyk(61%, 56.3%, 0%, 9.4%) |
| CIE-LAB | lab(48.57, 34.55, -67.38) |
| CIE-LCH | lch(48.57, 75.73, 297.15°) |
| OKLab | oklab(57.03% 0.0162 -0.1936) |
| OKLCH | oklch(57.03% 0.194 274.8) |
| XYZ | xyz(23.2892, 17.2487, 77.6879) |
| Luminance | 0.1725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 4.19
Royal Blue
#4169E1
ΔE00 4.22
Cornflower Blue
#5170D7
ΔE00 5.02
Warm Blue
#4B57DB
ΔE00 5.03
Mediumslateblue
#7B68EE
ΔE00 5.58
Azul
#1D5DEC
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A65E7 #E7DC5A
analogous
#5AABE7 #5A65E7 #955AE7
triadic
#5A65E7 #E75A65 #65E75A
tetradic
#5A65E7 #E75AAB #E7DC5A #5AE795
square
#5A65E7 #E75AAB #E7DC5A #5AE795
split-complementary
#5A65E7 #E7955A #ABE75A
monochromatic
#1925AD #2533DF #5A65E7 #8F97EF #C5C9F7
Accessibility & contrast
On white
4.72
#5A65E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#5A65E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A65E7
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A65E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A65E7 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #5a65e7; /* rgb */ color: rgb(90, 101, 231); /* oklch */ color: oklch(57.0% 0.194 274.8);
Tailwind
colors: {
custom: {
50: '#9690ef',
500: '#5a65e7',
950: '#000000',
},
}SCSS
$custom: #5a65e7; $custom-light: #9690ef; $custom-dark: #000000;
JSON
{
"hex": "#5a65e7",
"rgb": {
"r": 90,
"g": 101,
"b": 231
},
"hsl": {
"h": 235.319,
"s": 74.603,
"l": 62.941
},
"oklch": {
"l": 0.57029,
"c": 0.19427,
"h": 274.8
},
"luminance": 0.17251
}Semantic roles & 50–950 ramp
primary
#5A65E7
secondary
#E8E4B5
accent
#C70FD7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C17
muted
#7E7D85