#5996F5#5996F5

#5996F5 is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.6% C 0.155 H 259.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5996F5
RGBrgb(89, 150, 245)
HSLhsl(217, 89%, 65%)
HSVhsv(217, 64%, 96%)
CMYKcmyk(63.7%, 38.8%, 0%, 3.9%)
CIE-LABlab(62.11, 9.36, -53.45)
CIE-LCHlch(62.11, 54.26, 279.93°)
OKLaboklab(67.6% -0.0297 -0.1521)
OKLCHoklch(67.6% 0.155 259)
XYZxyz(31.5017, 30.5261, 90.6005)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5996F5 #F5B859
analogous
#59E4F5 #5996F5 #6A59F5
triadic
#5996F5 #F55996 #96F559
tetradic
#5996F5 #F559E4 #F5B859 #59F56A
square
#5996F5 #F559E4 #F5B859 #59F56A
split-complementary
#5996F5 #F56A59 #E4F559
monochromatic
#0C55C8 #1F71F2 #5996F5 #93BBF8 #CCDFFC

Accessibility & contrast

On white

2.96
#5996F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5996F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5996F5
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5996F5#FFFFFF#000000##000000
##5996F51.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EF9
Deuteranopia (green-blind)
#558FF3
Tritanopia (blue-blind)
#00ACBA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5996f5;
/* rgb */ color: rgb(89, 150, 245);
/* oklch */ color: oklch(67.6% 0.155 259.0);
Tailwind
colors: {
  custom: {
    50: '#96b4f9',
    500: '#5996f5',
    950: '#000000',
  },
}
SCSS
$custom: #5996f5;
$custom-light: #96b4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5996f5",
  "rgb": {
    "r": 89,
    "g": 150,
    "b": 245
  },
  "hsl": {
    "h": 216.538,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67599,
    "c": 0.15493,
    "h": 259
  },
  "luminance": 0.30529
}

Semantic roles & 50–950 ramp

primary
#5996F5
secondary
#EFDBBB
accent
#8C00E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5996F5

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

Preview Lab → · Contrast checker → · Palette generator →

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