#5A7CCF#5A7CCF
#5A7CCF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.0% C 0.133 H 265.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5A7CCF |
|---|---|
| RGB | rgb(90, 124, 207) |
| HSL | hsl(223, 55%, 58%) |
| HSV | hsv(223, 57%, 81%) |
| CMYK | cmyk(56.5%, 40.1%, 0%, 18.8%) |
| CIE-LAB | lab(53.05, 12.51, -46.63) |
| CIE-LCH | lch(53.05, 48.27, 285.02°) |
| OKLab | oklab(59.95% -0.0098 -0.1323) |
| OKLCH | oklch(59.95% 0.133 265.8) |
| XYZ | xyz(22.6828, 21.0922, 61.8953) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.23
Soft Blue
#6488EA
ΔE00 5.14
Lightish Blue
#3D7AFD
ΔE00 5.22
Clear Blue
#247AFD
ΔE00 5.77
Dodger Blue
#3E82FC
ΔE00 5.81
Faded Blue
#658CBB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A7CCF #CFAD5A
analogous
#5AB6CF #5A7CCF #725ACF
triadic
#5A7CCF #CF5A7C #7CCF5A
tetradic
#5A7CCF #CF5AB6 #CFAD5A #5ACF72
square
#5A7CCF #CF5AB6 #CFAD5A #5ACF72
split-complementary
#5A7CCF #CF725A #B6CF5A
monochromatic
#274387 #355BB7 #5A7CCF #89A2DD #B9C7EB
Accessibility & contrast
On white
4.02
#5A7CCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#5A7CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A7CCF
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A7CCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A7CCF | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#4A7ACD
Tritanopia (blue-blind)
#048E9B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5a7ccf; /* rgb */ color: rgb(90, 124, 207); /* oklch */ color: oklch(60.0% 0.133 265.8);
Tailwind
colors: {
custom: {
50: '#91a1de',
500: '#5a7ccf',
950: '#000000',
},
}SCSS
$custom: #5a7ccf; $custom-light: #91a1de; $custom-dark: #000000;
JSON
{
"hex": "#5a7ccf",
"rgb": {
"r": 90,
"g": 124,
"b": 207
},
"hsl": {
"h": 222.564,
"s": 54.93,
"l": 58.235
},
"oklch": {
"l": 0.59952,
"c": 0.13271,
"h": 265.8
},
"luminance": 0.21094
}Semantic roles & 50–950 ramp
primary
#5A7CCF
secondary
#DACCAB
accent
#B34ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83