#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
RGBrgb(89, 134, 242)
HSLhsl(222, 85%, 65%)
HSVhsv(222, 63%, 95%)
CMYKcmyk(63.2%, 44.6%, 0%, 5.1%)
CIE-LABlab(57.64, 17.90, -58.92)
CIE-LCHlch(57.64, 61.58, 286.90°)
OKLaboklab(64.1% -0.0147 -0.1683)
OKLCHoklch(64.1% 0.169 265)
XYZxyz(28.6664, 25.5822, 87.4143)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##5986F21.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.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

Preview Lab

Preview with #5986F2

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

Preview Lab → · Contrast checker → · Palette generator →

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