#5A7AF4#5A7AF4
#5A7AF4 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.9% C 0.186 H 269.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7AF4 |
|---|---|
| RGB | rgb(90, 122, 244) |
| HSL | hsl(228, 88%, 65%) |
| HSV | hsv(228, 63%, 96%) |
| CMYK | cmyk(63.1%, 50%, 0%, 4.3%) |
| CIE-LAB | lab(54.68, 26.04, -64.78) |
| CIE-LCH | lch(54.68, 69.81, 291.90°) |
| OKLab | oklab(61.9% -0.0023 -0.1857) |
| OKLCH | oklch(61.9% 0.186 269.3) |
| XYZ | xyz(27.4996, 22.6219, 88.4877) |
| Luminance | 0.2262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.70
Lightish Blue
#3D7AFD
ΔE00 3.13
Soft Blue
#6488EA
ΔE00 4.59
Dodger Blue
#3E82FC
ΔE00 4.83
Clear Blue
#247AFD
ΔE00 4.91
Cornflower Blue
#5170D7
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7AF4 #F4D45A
analogous
#5AC7F4 #5A7AF4 #875AF4
triadic
#5A7AF4 #F45A7A #7AF45A
tetradic
#5A7AF4 #F45AC7 #F4D45A #5AF487
square
#5A7AF4 #F45AC7 #F4D45A #5AF487
split-complementary
#5A7AF4 #F4875A #C7F45A
monochromatic
#0D34C6 #214CF0 #5A7AF4 #93A8F8 #CDD6FC
Accessibility & contrast
On white
3.80
#5A7AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#5A7AF4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7AF4
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7AF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7AF4 | 1.00 | 3.80 | 5.52 | 5.52 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#358AF8
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#0096AC
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5a7af4; /* rgb */ color: rgb(90, 122, 244); /* oklch */ color: oklch(61.9% 0.186 269.3);
Tailwind
colors: {
custom: {
50: '#97a0f8',
500: '#5a7af4',
950: '#000000',
},
}SCSS
$custom: #5a7af4; $custom-light: #97a0f8; $custom-dark: #000000;
JSON
{
"hex": "#5a7af4",
"rgb": {
"r": 90,
"g": 122,
"b": 244
},
"hsl": {
"h": 227.532,
"s": 87.5,
"l": 65.49
},
"oklch": {
"l": 0.61895,
"c": 0.1857,
"h": 269.3
},
"luminance": 0.22624
}Semantic roles & 50–950 ramp
primary
#5A7AF4
secondary
#EFE4BB
accent
#B501E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85