#5986FA#5986FA

#5986FA is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.6% C 0.180 H 265.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5986FA
RGBrgb(89, 134, 250)
HSLhsl(223, 94%, 66%)
HSVhsv(223, 64%, 98%)
CMYKcmyk(64.4%, 46.4%, 0%, 2%)
CIE-LABlab(58.11, 20.61, -62.59)
CIE-LCHlch(58.11, 65.89, 288.22°)
OKLaboklab(64.61% -0.0135 -0.1791)
OKLCHoklch(64.61% 0.18 265.7)
XYZxyz(29.8943, 26.0734, 93.8812)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986FA #FACD59
analogous
#59D6FA #5986FA #7D59FA
triadic
#5986FA #FA5986 #86FA59
tetradic
#5986FA #FA59D6 #FACD59 #59FA7D
square
#5986FA #FA59D6 #FACD59 #59FA7D
split-complementary
#5986FA #FA7D59 #D6FA59
monochromatic
#063FD2 #1E5BF8 #5986FA #94B1FC #D0DDFE

Accessibility & contrast

On white

3.38
#5986FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#5986FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986FA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986FA#FFFFFF#000000##000000
##5986FA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FE
Deuteranopia (green-blind)
#2B85F8
Tritanopia (blue-blind)
#00A1B4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5986fa;
/* rgb */ color: rgb(89, 134, 250);
/* oklch */ color: oklch(64.6% 0.180 265.7);
Tailwind
colors: {
  custom: {
    50: '#97a8fd',
    500: '#5986fa',
    950: '#000000',
  },
}
SCSS
$custom: #5986fa;
$custom-light: #97a8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5986fa",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 223.23,
    "s": 94.152,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64607,
    "c": 0.17962,
    "h": 265.7
  },
  "luminance": 0.26076
}

Semantic roles & 50–950 ramp

primary
#5986FA
secondary
#F1E3BD
accent
#A500E6
background
#FAFAFF
surface
#F3F4FF
border
#CDCED7
text
#0F0F18
muted
#7F7F86

Preview Lab

Preview with #5986FA

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

Preview Lab → · Contrast checker → · Palette generator →

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