#5A7FEB#5A7FEB
#5A7FEB is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.3% C 0.168 H 267.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FEB |
|---|---|
| RGB | rgb(90, 127, 235) |
| HSL | hsl(225, 78%, 64%) |
| HSV | hsv(225, 62%, 92%) |
| CMYK | cmyk(61.7%, 46%, 0%, 7.8%) |
| CIE-LAB | lab(55.43, 19.97, -58.57) |
| CIE-LCH | lch(55.43, 61.88, 288.83°) |
| OKLab | oklab(62.29% -0.0081 -0.1674) |
| OKLCH | oklch(62.29% 0.168 267.2) |
| XYZ | xyz(26.7961, 23.3482, 81.6757) |
| Luminance | 0.2335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.90
Lightish Blue
#3D7AFD
ΔE00 3.15
Dodger Blue
#3E82FC
ΔE00 3.62
Cornflower
#6A79F7
ΔE00 4.28
Clear Blue
#247AFD
ΔE00 4.49
Deep Sky Blue
#0D75F8
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FEB #EBC65A
analogous
#5AC7EB #5A7FEB #7D5AEB
triadic
#5A7FEB #EB5A7F #7FEB5A
tetradic
#5A7FEB #EB5AC7 #EBC65A #5AEB7D
square
#5A7FEB #EB5AC7 #EBC65A #5AEB7D
split-complementary
#5A7FEB #EB7D5A #C7EB5A
monochromatic
#163EB5 #2355E4 #5A7FEB #91A9F2 #C7D4F8
Accessibility & contrast
On white
3.70
#5A7FEB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#5A7FEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FEB
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FEB | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#317FE9
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #5a7feb; /* rgb */ color: rgb(90, 127, 235); /* oklch */ color: oklch(62.3% 0.168 267.2);
Tailwind
colors: {
custom: {
50: '#95a3f2',
500: '#5a7feb',
950: '#000000',
},
}SCSS
$custom: #5a7feb; $custom-light: #95a3f2; $custom-dark: #000000;
JSON
{
"hex": "#5a7feb",
"rgb": {
"r": 90,
"g": 127,
"b": 235
},
"hsl": {
"h": 224.69,
"s": 78.378,
"l": 63.725
},
"oklch": {
"l": 0.62288,
"c": 0.16756,
"h": 267.2
},
"luminance": 0.23351
}Semantic roles & 50–950 ramp
primary
#5A7FEB
secondary
#EADDB7
accent
#A60BDB
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85