#5A7DEB#5A7DEB
#5A7DEB is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.9% C 0.170 H 267.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7DEB |
|---|---|
| RGB | rgb(90, 125, 235) |
| HSL | hsl(226, 78%, 64%) |
| HSV | hsv(226, 62%, 92%) |
| CMYK | cmyk(61.7%, 46.8%, 0%, 7.8%) |
| CIE-LAB | lab(54.90, 21.19, -59.41) |
| CIE-LCH | lch(54.90, 63.08, 289.63°) |
| OKLab | oklab(61.89% -0.0062 -0.1699) |
| OKLCH | oklch(61.89% 0.17 267.9) |
| XYZ | xyz(26.5404, 22.8367, 81.5904) |
| Luminance | 0.2284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 3.09
Soft Blue
#6488EA
ΔE00 3.52
Cornflower
#6A79F7
ΔE00 3.83
Dodger Blue
#3E82FC
ΔE00 4.08
Clear Blue
#247AFD
ΔE00 4.56
Cornflower Blue
#5170D7
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7DEB #EBC85A
analogous
#5AC5EB #5A7DEB #7F5AEB
triadic
#5A7DEB #EB5A7D #7DEB5A
tetradic
#5A7DEB #EB5AC5 #EBC85A #5AEB7F
square
#5A7DEB #EB5AC5 #EBC85A #5AEB7F
split-complementary
#5A7DEB #EB7F5A #C5EB5A
monochromatic
#163CB5 #2352E4 #5A7DEB #91A8F2 #C7D3F8
Accessibility & contrast
On white
3.77
#5A7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.57
#5A7DEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7DEB
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7DEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7DEB | 1.00 | 3.77 | 5.57 | 5.57 |
| #FFFFFF | 3.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#2B7DE9
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5a7deb; /* rgb */ color: rgb(90, 125, 235); /* oklch */ color: oklch(61.9% 0.170 267.9);
Tailwind
colors: {
custom: {
50: '#95a2f2',
500: '#5a7deb',
950: '#000000',
},
}SCSS
$custom: #5a7deb; $custom-light: #95a2f2; $custom-dark: #000000;
JSON
{
"hex": "#5a7deb",
"rgb": {
"r": 90,
"g": 125,
"b": 235
},
"hsl": {
"h": 225.517,
"s": 78.378,
"l": 63.725
},
"oklch": {
"l": 0.61887,
"c": 0.16998,
"h": 267.9
},
"luminance": 0.22839
}Semantic roles & 50–950 ramp
primary
#5A7DEB
secondary
#EADEB7
accent
#A80BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85