#5A7FE8#5A7FE8
#5A7FE8 is a light, vivid blue. Relative luminance 0.232; OKLCH L 62.1% C 0.163 H 267.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FE8 |
|---|---|
| RGB | rgb(90, 127, 232) |
| HSL | hsl(224, 76%, 63%) |
| HSV | hsv(224, 61%, 91%) |
| CMYK | cmyk(61.2%, 45.3%, 0%, 9%) |
| CIE-LAB | lab(55.25, 18.97, -57.18) |
| CIE-LCH | lch(55.25, 60.24, 288.35°) |
| OKLab | oklab(62.1% -0.0086 -0.1633) |
| OKLCH | oklch(62.1% 0.163 267) |
| XYZ | xyz(26.3663, 23.1763, 79.4123) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.93
Lightish Blue
#3D7AFD
ΔE00 3.28
Dodger Blue
#3E82FC
ΔE00 3.70
Cornflower
#6A79F7
ΔE00 4.50
Clear Blue
#247AFD
ΔE00 4.51
Cornflower Blue
#5170D7
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FE8 #E8C35A
analogous
#5AC6E8 #5A7FE8 #7C5AE8
triadic
#5A7FE8 #E85A7F #7FE85A
tetradic
#5A7FE8 #E85AC6 #E8C35A #5AE87C
square
#5A7FE8 #E85AC6 #E8C35A #5AE87C
split-complementary
#5A7FE8 #E87C5A #C6E85A
monochromatic
#1840AF #2455E1 #5A7FE8 #90A9EF #C5D2F7
Accessibility & contrast
On white
3.73
#5A7FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#5A7FE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FE8
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FE8 | 1.00 | 3.73 | 5.64 | 5.64 |
| #FFFFFF | 3.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D8BEC
Deuteranopia (green-blind)
#367EE6
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5a7fe8; /* rgb */ color: rgb(90, 127, 232); /* oklch */ color: oklch(62.1% 0.163 267.0);
Tailwind
colors: {
custom: {
50: '#95a3f0',
500: '#5a7fe8',
950: '#000000',
},
}SCSS
$custom: #5a7fe8; $custom-light: #95a3f0; $custom-dark: #000000;
JSON
{
"hex": "#5a7fe8",
"rgb": {
"r": 90,
"g": 127,
"b": 232
},
"hsl": {
"h": 224.366,
"s": 75.532,
"l": 63.137
},
"oklch": {
"l": 0.62097,
"c": 0.16349,
"h": 267
},
"luminance": 0.23179
}Semantic roles & 50–950 ramp
primary
#5A7FE8
secondary
#E8DBB5
accent
#A30ED8
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85