#5986F2#5986F2
#5986F2 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.1% C 0.169 H 265.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #5986F2 |
|---|---|
| RGB | rgb(89, 134, 242) |
| HSL | hsl(222, 85%, 65%) |
| HSV | hsv(222, 63%, 95%) |
| CMYK | cmyk(63.2%, 44.6%, 0%, 5.1%) |
| CIE-LAB | lab(57.64, 17.90, -58.92) |
| CIE-LCH | lch(57.64, 61.58, 286.90°) |
| OKLab | oklab(64.1% -0.0147 -0.1683) |
| OKLCH | oklch(64.1% 0.169 265) |
| XYZ | xyz(28.6664, 25.5822, 87.4143) |
| Luminance | 0.2559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 1.61
Dodger Blue
#3E82FC
ΔE00 2.66
Lightish Blue
#3D7AFD
ΔE00 4.12
Cornflowerblue
#6495ED
ΔE00 4.67
Clear Blue
#247AFD
ΔE00 4.96
Azure
#007FFF
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5986F2 #F2C559
analogous
#59D2F2 #5986F2 #7959F2
triadic
#5986F2 #F25986 #86F259
tetradic
#5986F2 #F259D2 #F2C559 #59F279
square
#5986F2 #F259D2 #F2C559 #59F279
split-complementary
#5986F2 #F27959 #D2F259
monochromatic
#0F44C1 #205DEE #5986F2 #92AFF6 #CBD9FB
Accessibility & contrast
On white
3.43
#5986F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#5986F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5986F2
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5986F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5986F2 | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5292F6
Deuteranopia (green-blind)
#3884F0
Tritanopia (blue-blind)
#009FB0
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #5986f2; /* rgb */ color: rgb(89, 134, 242); /* oklch */ color: oklch(64.1% 0.169 265.0);
Tailwind
colors: {
custom: {
50: '#96a8f7',
500: '#5986f2',
950: '#000000',
},
}SCSS
$custom: #5986f2; $custom-light: #96a8f7; $custom-dark: #000000;
JSON
{
"hex": "#5986f2",
"rgb": {
"r": 89,
"g": 134,
"b": 242
},
"hsl": {
"h": 222.353,
"s": 85.475,
"l": 64.902
},
"oklch": {
"l": 0.64098,
"c": 0.16896,
"h": 265
},
"luminance": 0.25585
}Semantic roles & 50–950 ramp
primary
#5986F2
secondary
#EDDEB9
accent
#A104E2
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85