#5996F3#5996F3

#5996F3 is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.5% C 0.152 H 258.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5996F3
RGBrgb(89, 150, 243)
HSLhsl(216, 87%, 65%)
HSVhsv(216, 63%, 95%)
CMYKcmyk(63.4%, 38.3%, 0%, 4.7%)
CIE-LABlab(62.00, 8.69, -52.51)
CIE-LCHlch(62.00, 53.23, 279.40°)
OKLaboklab(67.48% -0.0301 -0.1493)
OKLCHoklch(67.48% 0.152 258.6)
XYZxyz(31.1981, 30.4046, 89.0012)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5996F3 #F3B659
analogous
#59E3F3 #5996F3 #6959F3
triadic
#5996F3 #F35996 #96F359
tetradic
#5996F3 #F359E3 #F3B659 #59F369
square
#5996F3 #F359E3 #F3B659 #59F369
split-complementary
#5996F3 #F36959 #E3F359
monochromatic
#0E56C3 #2072EF #5996F3 #92BAF7 #CBDEFB

Accessibility & contrast

On white

2.97
#5996F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5996F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5996F3
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5996F3#FFFFFF#000000##000000
##5996F31.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF7
Deuteranopia (green-blind)
#578FF1
Tritanopia (blue-blind)
#00ABB9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5996f3;
/* rgb */ color: rgb(89, 150, 243);
/* oklch */ color: oklch(67.5% 0.152 258.6);
Tailwind
colors: {
  custom: {
    50: '#95b4f7',
    500: '#5996f3',
    950: '#000000',
  },
}
SCSS
$custom: #5996f3;
$custom-light: #95b4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5996f3",
  "rgb": {
    "r": 89,
    "g": 150,
    "b": 243
  },
  "hsl": {
    "h": 216.234,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67484,
    "c": 0.15233,
    "h": 258.6
  },
  "luminance": 0.30408
}

Semantic roles & 50–950 ramp

primary
#5996F3
secondary
#EED9BA
accent
#8A02E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5996F3

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

Preview Lab → · Contrast checker → · Palette generator →

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