#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
RGBrgb(89, 134, 254)
HSLhsl(224, 99%, 67%)
HSVhsv(224, 65%, 100%)
CMYKcmyk(65%, 47.2%, 0%, 0.4%)
CIE-LABlab(58.35, 21.96, -64.40)
CIE-LCHlch(58.35, 68.05, 288.83°)
OKLaboklab(64.87% -0.013 -0.1844)
OKLCHoklch(64.87% 0.185 266)
XYZxyz(30.5281, 26.3269, 97.2195)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##5986FE1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.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

Preview Lab

Preview with #5986FE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5986FE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva