#5A7DF5#5A7DF5
#5A7DF5 is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.5% C 0.183 H 268.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7DF5 |
|---|---|
| RGB | rgb(90, 125, 245) |
| HSL | hsl(226, 89%, 66%) |
| HSV | hsv(226, 63%, 96%) |
| CMYK | cmyk(63.3%, 49%, 0%, 3.9%) |
| CIE-LAB | lab(55.51, 24.55, -63.99) |
| CIE-LCH | lch(55.51, 68.54, 290.99°) |
| OKLab | oklab(62.55% -0.005 -0.1833) |
| OKLCH | oklch(62.55% 0.183 268.5) |
| XYZ | xyz(28.0259, 23.4309, 89.4142) |
| Luminance | 0.2343 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.94
Cornflower
#6A79F7
ΔE00 3.22
Soft Blue
#6488EA
ΔE00 3.67
Dodger Blue
#3E82FC
ΔE00 4.07
Clear Blue
#247AFD
ΔE00 4.67
Deep Sky Blue
#0D75F8
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7DF5 #F5D25A
analogous
#5ACAF5 #5A7DF5 #855AF5
triadic
#5A7DF5 #F55A7D #7DF55A
tetradic
#5A7DF5 #F55ACA #F5D25A #5AF585
square
#5A7DF5 #F55ACA #F5D25A #5AF585
split-complementary
#5A7DF5 #F5855A #CAF55A
monochromatic
#0C37C8 #2050F2 #5A7DF5 #94AAF8 #CDD8FC
Accessibility & contrast
On white
3.69
#5A7DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#5A7DF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7DF5
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7DF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7DF5 | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8CF9
Deuteranopia (green-blind)
#127EF3
Tritanopia (blue-blind)
#0099AD
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5a7df5; /* rgb */ color: rgb(90, 125, 245); /* oklch */ color: oklch(62.5% 0.183 268.5);
Tailwind
colors: {
custom: {
50: '#97a2f9',
500: '#5a7df5',
950: '#000000',
},
}SCSS
$custom: #5a7df5; $custom-light: #97a2f9; $custom-dark: #000000;
JSON
{
"hex": "#5a7df5",
"rgb": {
"r": 90,
"g": 125,
"b": 245
},
"hsl": {
"h": 226.452,
"s": 88.571,
"l": 65.686
},
"oklch": {
"l": 0.62547,
"c": 0.1834,
"h": 268.5
},
"luminance": 0.23433
}Semantic roles & 50–950 ramp
primary
#5A7DF5
secondary
#EFE4BC
accent
#B100E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0F17
muted
#7F7E85