#5A84CF#5A84CF
#5A84CF is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.7% C 0.123 H 261.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5A84CF |
|---|---|
| RGB | rgb(90, 132, 207) |
| HSL | hsl(218, 55%, 58%) |
| HSV | hsv(218, 57%, 81%) |
| CMYK | cmyk(56.5%, 36.2%, 0%, 18.8%) |
| CIE-LAB | lab(55.26, 7.68, -43.13) |
| CIE-LCH | lch(55.26, 43.81, 280.10°) |
| OKLab | oklab(61.66% -0.0187 -0.1221) |
| OKLCH | oklch(61.66% 0.123 261.3) |
| XYZ | xyz(23.7263, 23.1793, 62.2431) |
| Luminance | 0.2318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Faded Blue
#658CBB
ΔE00 3.68
Soft Blue
#6488EA
ΔE00 3.84
Dodger Blue
#3E82FC
ΔE00 4.59
Off Blue
#5684AE
ΔE00 4.88
Dusty Blue
#5A86AD
ΔE00 5.06
Cool Blue
#4984B8
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A84CF #CFA55A
analogous
#5ABECF #5A84CF #6A5ACF
triadic
#5A84CF #CF5A84 #84CF5A
tetradic
#5A84CF #CF5ABE #CFA55A #5ACF6A
square
#5A84CF #CF5ABE #CFA55A #5ACF6A
split-complementary
#5A84CF #CF6A5A #BECF5A
monochromatic
#274A87 #3564B7 #5A84CF #89A7DD #B9CBEB
Accessibility & contrast
On white
3.73
#5A84CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#5A84CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5A84CF
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A84CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5A84CF | 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)
#658AD2
Deuteranopia (green-blind)
#567FCD
Tritanopia (blue-blind)
#0095A0
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #5a84cf; /* rgb */ color: rgb(90, 132, 207); /* oklch */ color: oklch(61.7% 0.123 261.3);
Tailwind
colors: {
custom: {
50: '#91a7de',
500: '#5a84cf',
950: '#000000',
},
}SCSS
$custom: #5a84cf; $custom-light: #91a7de; $custom-dark: #000000;
JSON
{
"hex": "#5a84cf",
"rgb": {
"r": 90,
"g": 132,
"b": 207
},
"hsl": {
"h": 218.462,
"s": 54.93,
"l": 58.235
},
"oklch": {
"l": 0.6166,
"c": 0.12348,
"h": 261.3
},
"luminance": 0.23181
}Semantic roles & 50–950 ramp
primary
#5A84CF
secondary
#DAC9AB
accent
#A94ADE
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D0F15
muted
#7E7F83