#5A7FF4#5A7FF4
#5A7FF4 is a light, vivid blue. Relative luminance 0.239; OKLCH L 62.9% C 0.180 H 267.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7FF4 |
|---|---|
| RGB | rgb(90, 127, 244) |
| HSL | hsl(226, 88%, 65%) |
| HSV | hsv(226, 63%, 96%) |
| CMYK | cmyk(63.1%, 48%, 0%, 4.3%) |
| CIE-LAB | lab(55.97, 22.99, -62.70) |
| CIE-LCH | lch(55.97, 66.79, 290.14°) |
| OKLab | oklab(62.87% -0.0069 -0.1795) |
| OKLCH | oklch(62.87% 0.18 267.8) |
| XYZ | xyz(28.1294, 23.8815, 88.6976) |
| Luminance | 0.2388 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.99
Soft Blue
#6488EA
ΔE00 3.03
Dodger Blue
#3E82FC
ΔE00 3.60
Cornflower
#6A79F7
ΔE00 3.75
Clear Blue
#247AFD
ΔE00 4.58
Azure
#007FFF
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7FF4 #F4CF5A
analogous
#5ACCF4 #5A7FF4 #825AF4
triadic
#5A7FF4 #F45A7F #7FF45A
tetradic
#5A7FF4 #F45ACC #F4CF5A #5AF482
square
#5A7FF4 #F45ACC #F4CF5A #5AF482
split-complementary
#5A7FF4 #F4825A #CCF45A
monochromatic
#0D3AC6 #2152F0 #5A7FF4 #93ACF8 #CDD8FC
Accessibility & contrast
On white
3.64
#5A7FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#5A7FF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7FF4
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7FF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7FF4 | 1.00 | 3.64 | 5.78 | 5.78 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#418DF8
Deuteranopia (green-blind)
#1F80F2
Tritanopia (blue-blind)
#009AAE
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #5a7ff4; /* rgb */ color: rgb(90, 127, 244); /* oklch */ color: oklch(62.9% 0.180 267.8);
Tailwind
colors: {
custom: {
50: '#97a3f8',
500: '#5a7ff4',
950: '#000000',
},
}SCSS
$custom: #5a7ff4; $custom-light: #97a3f8; $custom-dark: #000000;
JSON
{
"hex": "#5a7ff4",
"rgb": {
"r": 90,
"g": 127,
"b": 244
},
"hsl": {
"h": 225.584,
"s": 87.5,
"l": 65.49
},
"oklch": {
"l": 0.62873,
"c": 0.17965,
"h": 267.8
},
"luminance": 0.23884
}Semantic roles & 50–950 ramp
primary
#5A7FF4
secondary
#EFE2BB
accent
#AE01E4
background
#F9FAFF
surface
#F2F3FF
border
#CCCDD7
text
#0F0F17
muted
#7E7F85