#5986E7#5986E7

#5986E7 is a light, vivid blue. Relative luminance 0.249; OKLCH L 63.4% C 0.154 H 263.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5986E7
RGBrgb(89, 134, 231)
HSLhsl(221, 75%, 63%)
HSVhsv(221, 61%, 91%)
CMYKcmyk(61.5%, 42%, 0%, 9.4%)
CIE-LABlab(57.02, 14.21, -53.80)
CIE-LCHlch(57.02, 55.65, 284.79°)
OKLaboklab(63.42% -0.0166 -0.1533)
OKLCHoklch(63.42% 0.154 263.8)
XYZxyz(27.0637, 24.9412, 78.9737)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5986E7 #E7BA59
analogous
#59CDE7 #5986E7 #7359E7
triadic
#5986E7 #E75986 #86E759
tetradic
#5986E7 #E759CD #E7BA59 #59E773
square
#5986E7 #E759CD #E7BA59 #59E773
split-complementary
#5986E7 #E77359 #CDE759
monochromatic
#1948AD #245FDF #5986E7 #8EADEF #C4D4F6

Accessibility & contrast

On white

3.51
#5986E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5986E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5986E7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5986E7#FFFFFF#000000##000000
##5986E71.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A90EB
Deuteranopia (green-blind)
#4583E5
Tritanopia (blue-blind)
#009CAB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5986e7;
/* rgb */ color: rgb(89, 134, 231);
/* oklch */ color: oklch(63.4% 0.154 263.8);
Tailwind
colors: {
  custom: {
    50: '#94a8ef',
    500: '#5986e7',
    950: '#000000',
  },
}
SCSS
$custom: #5986e7;
$custom-light: #94a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5986e7",
  "rgb": {
    "r": 89,
    "g": 134,
    "b": 231
  },
  "hsl": {
    "h": 220.986,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6342,
    "c": 0.15419,
    "h": 263.8
  },
  "luminance": 0.24944
}

Semantic roles & 50–950 ramp

primary
#5986E7
secondary
#E8D7B4
accent
#970FD7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #5986E7

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

Preview Lab → · Contrast checker → · Palette generator →

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