#5997EF#5997EF

#5997EF is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.5% C 0.146 H 257.3°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5997EF
RGBrgb(89, 151, 239)
HSLhsl(215, 82%, 64%)
HSVhsv(215, 63%, 94%)
CMYKcmyk(62.8%, 36.8%, 0%, 6.3%)
CIE-LABlab(62.07, 6.77, -50.20)
CIE-LCHlch(62.07, 50.66, 277.68°)
OKLaboklab(67.47% -0.032 -0.1425)
OKLCHoklch(67.47% 0.146 257.3)
XYZxyz(30.7608, 30.4862, 85.9079)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5997EF #EFB159
analogous
#59E2EF #5997EF #6659EF
triadic
#5997EF #EF5997 #97EF59
tetradic
#5997EF #EF59E2 #EFB159 #59EF66
square
#5997EF #EF59E2 #EFB159 #59EF66
split-complementary
#5997EF #EF6659 #E2EF59
monochromatic
#1258BC #2174EA #5997EF #91BAF4 #C9DDFA

Accessibility & contrast

On white

2.96
#5997EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#5997EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5997EF
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5997EF#FFFFFF#000000##000000
##5997EF1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF3
Deuteranopia (green-blind)
#5C90ED
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5997ef;
/* rgb */ color: rgb(89, 151, 239);
/* oklch */ color: oklch(67.5% 0.146 257.3);
Tailwind
colors: {
  custom: {
    50: '#95b5f4',
    500: '#5997ef',
    950: '#000000',
  },
}
SCSS
$custom: #5997ef;
$custom-light: #95b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5997ef",
  "rgb": {
    "r": 89,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 215.2,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67472,
    "c": 0.14609,
    "h": 257.3
  },
  "luminance": 0.30489
}

Semantic roles & 50–950 ramp

primary
#5997EF
secondary
#ECD6B8
accent
#8507DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5997EF

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

Preview Lab → · Contrast checker → · Palette generator →

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