#5986FE#5986FE
#5986FE is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.9% C 0.185 H 266.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5986FE |
|---|---|
| RGB | rgb(89, 134, 254) |
| HSL | hsl(224, 99%, 67%) |
| HSV | hsv(224, 65%, 100%) |
| CMYK | cmyk(65%, 47.2%, 0%, 0.4%) |
| CIE-LAB | lab(58.35, 21.96, -64.40) |
| CIE-LCH | lch(58.35, 68.05, 288.83°) |
| OKLab | oklab(64.87% -0.013 -0.1844) |
| OKLCH | oklch(64.87% 0.185 266) |
| XYZ | xyz(30.5281, 26.3269, 97.2195) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Soft Blue
#6488EA
ΔE00 2.34
Dodger Blue
#3E82FC
ΔE00 3.04
Lightish Blue
#3D7AFD
ΔE00 4.23
Cornflowerblue
#6495ED
ΔE00 4.96
Clear Blue
#247AFD
ΔE00 5.30
Cornflower
#6A79F7
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5986FE #FED159
analogous
#59D9FE #5986FE #7E59FE
triadic
#5986FE #FE5986 #86FE59
tetradic
#5986FE #FE59D9 #FED159 #59FE7E
square
#5986FE #FE59D9 #FED159 #59FE7E
split-complementary
#5986FE #FE7E59 #D9FE59
monochromatic
#013DDB #1C5AFE #5986FE #96B2FE #D3DFFF
Accessibility & contrast
On white
3.35
#5986FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#5986FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5986FE
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5986FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5986FE | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#2285FC
Tritanopia (blue-blind)
#00A2B6
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #5986fe; /* rgb */ color: rgb(89, 134, 254); /* oklch */ color: oklch(64.9% 0.185 266.0);
Tailwind
colors: {
custom: {
50: '#97a8ff',
500: '#5986fe',
950: '#000000',
},
}SCSS
$custom: #5986fe; $custom-light: #97a8ff; $custom-dark: #000000;
JSON
{
"hex": "#5986fe",
"rgb": {
"r": 89,
"g": 134,
"b": 254
},
"hsl": {
"h": 223.636,
"s": 98.802,
"l": 67.255
},
"oklch": {
"l": 0.64867,
"c": 0.18491,
"h": 266
},
"luminance": 0.2633
}Semantic roles & 50–950 ramp
primary
#5986FE
secondary
#F3E5BF
accent
#A700E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86