#5986F7#5986F7

#5986F7 is a light, vivid blue. Relative luminance 0.259; OKLCH L 64.4% C 0.176 H 265.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5986F7
RGBrgb(89, 134, 247)
HSLhsl(223, 91%, 66%)
HSVhsv(223, 64%, 97%)
CMYKcmyk(64%, 45.7%, 0%, 3.1%)
CIE-LABlab(57.93, 19.59, -61.22)
CIE-LCHlch(57.93, 64.28, 287.75°)
OKLaboklab(64.42% -0.014 -0.1751)
OKLCHoklch(64.42% 0.176 265.4)
XYZxyz(29.4276, 25.8867, 91.4235)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986F7 #F7CA59
analogous
#59D5F7 #5986F7 #7B59F7
triadic
#5986F7 #F75986 #86F759
tetradic
#5986F7 #F759D5 #F7CA59 #59F77B
square
#5986F7 #F759D5 #F7CA59 #59F77B
split-complementary
#5986F7 #F77B59 #D5F759
monochromatic
#0A41CC #1F5BF4 #5986F7 #93B1FA #CEDBFD

Accessibility & contrast

On white

3.40
#5986F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#5986F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986F7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986F7#FFFFFF#000000##000000
##5986F71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#3084F5
Tritanopia (blue-blind)
#00A0B2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5986f7;
/* rgb */ color: rgb(89, 134, 247);
/* oklch */ color: oklch(64.4% 0.176 265.4);
Tailwind
colors: {
  custom: {
    50: '#96a8fa',
    500: '#5986f7',
    950: '#000000',
  },
}
SCSS
$custom: #5986f7;
$custom-light: #96a8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5986f7",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 247
  },
  "hsl": {
    "h": 222.911,
    "s": 90.805,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64415,
    "c": 0.17564,
    "h": 265.4
  },
  "luminance": 0.25889
}

Semantic roles & 50–950 ramp

primary
#5986F7
secondary
#F0E1BC
accent
#A400E6
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5986F7

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

Preview Lab → · Contrast checker → · Palette generator →

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