#5996F8#5996F8

#5996F8 is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.8% C 0.159 H 259.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#5996F8
RGBrgb(89, 150, 248)
HSLhsl(217, 92%, 66%)
HSVhsv(217, 64%, 97%)
CMYKcmyk(64.1%, 39.5%, 0%, 2.7%)
CIE-LABlab(62.26, 10.36, -54.85)
CIE-LCHlch(62.26, 55.82, 280.70°)
OKLaboklab(67.77% -0.029 -0.1561)
OKLCHoklch(67.77% 0.159 259.5)
XYZxyz(31.9634, 30.7108, 93.0320)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5996F8 #F8BB59
analogous
#59E6F8 #5996F8 #6B59F8
triadic
#5996F8 #F85996 #96F859
tetradic
#5996F8 #F859E6 #F8BB59 #59F86B
square
#5996F8 #F859E6 #F8BB59 #59F86B
split-complementary
#5996F8 #F86B59 #E6F859
monochromatic
#0954CE #1E71F6 #5996F8 #94BBFA #CEE0FD

Accessibility & contrast

On white

2.94
#5996F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#5996F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5996F8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5996F8#FFFFFF#000000##000000
##5996F81.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFC
Deuteranopia (green-blind)
#5290F6
Tritanopia (blue-blind)
#00ACBB
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5996f8;
/* rgb */ color: rgb(89, 150, 248);
/* oklch */ color: oklch(67.8% 0.159 259.5);
Tailwind
colors: {
  custom: {
    50: '#96b4fb',
    500: '#5996f8',
    950: '#000000',
  },
}
SCSS
$custom: #5996f8;
$custom-light: #96b4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5996f8",
  "rgb": {
    "r": 89,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 216.981,
    "s": 91.908,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67772,
    "c": 0.15883,
    "h": 259.5
  },
  "luminance": 0.30714
}

Semantic roles & 50–950 ramp

primary
#5996F8
secondary
#F1DCBC
accent
#8D00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5996F8

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

Preview Lab → · Contrast checker → · Palette generator →

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