#5996F1#5996F1

#5996F1 is a light, vivid blue. Relative luminance 0.303; OKLCH L 67.4% C 0.150 H 258.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5996F1
RGBrgb(89, 150, 241)
HSLhsl(216, 84%, 65%)
HSVhsv(216, 63%, 95%)
CMYKcmyk(63.1%, 37.8%, 0%, 5.5%)
CIE-LABlab(61.90, 8.02, -51.58)
CIE-LCHlch(61.90, 52.20, 278.84°)
OKLaboklab(67.37% -0.0305 -0.1466)
OKLCHoklch(67.37% 0.15 258.2)
XYZxyz(30.8977, 30.2845, 87.4192)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5996F1 #F1B459
analogous
#59E2F1 #5996F1 #6859F1
triadic
#5996F1 #F15996 #96F159
tetradic
#5996F1 #F159E2 #F1B459 #59F168
square
#5996F1 #F159E2 #F1B459 #59F168
split-complementary
#5996F1 #F16859 #E2F159
monochromatic
#1057BF #2172EC #5996F1 #91BAF6 #CADDFB

Accessibility & contrast

On white

2.98
#5996F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5996F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5996F1
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5996F1#FFFFFF#000000##000000
##5996F11.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF5
Deuteranopia (green-blind)
#588FEF
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5996f1;
/* rgb */ color: rgb(89, 150, 241);
/* oklch */ color: oklch(67.4% 0.150 258.2);
Tailwind
colors: {
  custom: {
    50: '#95b4f6',
    500: '#5996f1',
    950: '#000000',
  },
}
SCSS
$custom: #5996f1;
$custom-light: #95b4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5996f1",
  "rgb": {
    "r": 89,
    "g": 150,
    "b": 241
  },
  "hsl": {
    "h": 215.921,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67371,
    "c": 0.14973,
    "h": 258.2
  },
  "luminance": 0.30287
}

Semantic roles & 50–950 ramp

primary
#5996F1
secondary
#EDD8B9
accent
#8805E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5996F1

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

Preview Lab → · Contrast checker → · Palette generator →

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