#5997FF#5997FF

#5997FF is a light, vivid blue. Relative luminance 0.315; OKLCH L 68.4% C 0.167 H 260.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5997FF
RGBrgb(89, 151, 255)
HSLhsl(218, 100%, 67%)
HSVhsv(218, 65%, 100%)
CMYKcmyk(65.1%, 40.8%, 0%, 0%)
CIE-LABlab(62.91, 12.13, -57.65)
CIE-LCHlch(62.91, 58.92, 281.88°)
OKLaboklab(68.39% -0.0286 -0.1644)
OKLCHoklch(68.39% 0.167 260.1)
XYZxyz(33.2300, 31.4738, 98.9122)
Luminance0.3148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5997FF #FFC159
analogous
#59EAFF #5997FF #6E59FF
triadic
#5997FF #FF5997 #97FF59
tetradic
#5997FF #FF59EA #FFC159 #59FF6E
square
#5997FF #FF59EA #FFC159 #59FF6E
split-complementary
#5997FF #FF6E59 #EAFF59
monochromatic
#0053DE #1C71FF #5997FF #96BDFF #D3E4FF

Accessibility & contrast

On white

2.88
#5997FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#5997FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5997FF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5997FF#FFFFFF#000000##000000
##5997FF1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A1FF
Deuteranopia (green-blind)
#4D91FD
Tritanopia (blue-blind)
#00AFBF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5997ff;
/* rgb */ color: rgb(89, 151, 255);
/* oklch */ color: oklch(68.4% 0.167 260.1);
Tailwind
colors: {
  custom: {
    50: '#97b5ff',
    500: '#5997ff',
    950: '#000000',
  },
}
SCSS
$custom: #5997ff;
$custom-light: #97b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5997ff",
  "rgb": {
    "r": 89,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 217.59,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68391,
    "c": 0.16685,
    "h": 260.1
  },
  "luminance": 0.31477
}

Semantic roles & 50–950 ramp

primary
#5997FF
secondary
#F4E0C0
accent
#9000E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5997FF

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

Preview Lab → · Contrast checker → · Palette generator →

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