#5996EF#5996EF

#5996EF is a light, vivid blue. Relative luminance 0.302; OKLCH L 67.3% C 0.147 H 257.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5996EF
RGBrgb(89, 150, 239)
HSLhsl(216, 82%, 64%)
HSVhsv(216, 63%, 94%)
CMYKcmyk(62.8%, 37.2%, 0%, 6.3%)
CIE-LABlab(61.80, 7.36, -50.64)
CIE-LCHlch(61.80, 51.17, 278.27°)
OKLaboklab(67.26% -0.031 -0.1438)
OKLCHoklch(67.26% 0.147 257.8)
XYZxyz(30.6006, 30.1656, 85.8545)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5996EF #EFB259
analogous
#59E1EF #5996EF #6759EF
triadic
#5996EF #EF5996 #96EF59
tetradic
#5996EF #EF59E1 #EFB259 #59EF67
square
#5996EF #EF59E1 #EFB259 #59EF67
split-complementary
#5996EF #EF6759 #E1EF59
monochromatic
#1257BC #2173EA #5996EF #91B9F4 #C9DDFA

Accessibility & contrast

On white

2.99
#5996EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#5996EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5996EF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5996EF#FFFFFF#000000##000000
##5996EF1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#5A8FED
Tritanopia (blue-blind)
#00AAB7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5996ef;
/* rgb */ color: rgb(89, 150, 239);
/* oklch */ color: oklch(67.3% 0.147 257.8);
Tailwind
colors: {
  custom: {
    50: '#95b4f4',
    500: '#5996ef',
    950: '#000000',
  },
}
SCSS
$custom: #5996ef;
$custom-light: #95b4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5996ef",
  "rgb": {
    "r": 89,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 215.6,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67258,
    "c": 0.14713,
    "h": 257.8
  },
  "luminance": 0.30169
}

Semantic roles & 50–950 ramp

primary
#5996EF
secondary
#ECD7B8
accent
#8707DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5996EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5996EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva