#5985F2#5985F2
#5985F2 is a light, vivid blue. Relative luminance 0.253; OKLCH L 63.9% C 0.170 H 265.4°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #5985F2 |
|---|---|
| RGB | rgb(89, 133, 242) |
| HSL | hsl(223, 85%, 65%) |
| HSV | hsv(223, 63%, 95%) |
| CMYK | cmyk(63.2%, 45%, 0%, 5.1%) |
| CIE-LAB | lab(57.37, 18.51, -59.34) |
| CIE-LCH | lch(57.37, 62.16, 287.32°) |
| OKLab | oklab(63.9% -0.0138 -0.1696) |
| OKLCH | oklch(63.9% 0.17 265.4) |
| XYZ | xyz(28.5288, 25.3071, 87.3685) |
| Luminance | 0.2531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.66
Dodger Blue
#3E82FC
ΔE00 2.66
Lightish Blue
#3D7AFD
ΔE00 3.88
Clear Blue
#247AFD
ΔE00 4.82
Cornflowerblue
#6495ED
ΔE00 5.00
Azure
#007FFF
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5985F2 #F2C659
analogous
#59D2F2 #5985F2 #7959F2
triadic
#5985F2 #F25985 #85F259
tetradic
#5985F2 #F259D2 #F2C659 #59F279
square
#5985F2 #F259D2 #F2C659 #59F279
split-complementary
#5985F2 #F27959 #D2F259
monochromatic
#0F42C1 #205BEE #5985F2 #92AFF6 #CBD8FB
Accessibility & contrast
On white
3.46
#5985F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#5985F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5985F2
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5985F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5985F2 | 1.00 | 3.46 | 6.06 | 6.06 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#3583F0
Tritanopia (blue-blind)
#009EB0
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5985f2; /* rgb */ color: rgb(89, 133, 242); /* oklch */ color: oklch(63.9% 0.170 265.4);
Tailwind
colors: {
custom: {
50: '#96a8f7',
500: '#5985f2',
950: '#000000',
},
}SCSS
$custom: #5985f2; $custom-light: #96a8f7; $custom-dark: #000000;
JSON
{
"hex": "#5985f2",
"rgb": {
"r": 89,
"g": 133,
"b": 242
},
"hsl": {
"h": 222.745,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.63895,
"c": 0.17014,
"h": 265.4
},
"luminance": 0.2531
}Semantic roles & 50–950 ramp
primary
#5985F2
secondary
#EDDEB9
accent
#A204E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85