#5997EE#5997EE

#5997EE is a light, vivid blue. Relative luminance 0.304; OKLCH L 67.4% C 0.145 H 257.1°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#5997EE
RGBrgb(89, 151, 238)
HSLhsl(215, 81%, 64%)
HSVhsv(215, 63%, 93%)
CMYKcmyk(62.6%, 36.6%, 0%, 6.7%)
CIE-LABlab(62.02, 6.44, -49.73)
CIE-LCHlch(62.02, 50.15, 277.38°)
OKLaboklab(67.42% -0.0322 -0.1412)
OKLCHoklch(67.42% 0.145 257.1)
XYZxyz(30.6135, 30.4272, 85.1321)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5997EE #EEB059
analogous
#59E1EE #5997EE #6659EE
triadic
#5997EE #EE5997 #97EE59
tetradic
#5997EE #EE59E1 #EEB059 #59EE66
square
#5997EE #EE59E1 #EEB059 #59EE66
split-complementary
#5997EE #EE6659 #E1EE59
monochromatic
#1358BA #2174E8 #5997EE #91BAF4 #C8DDF9

Accessibility & contrast

On white

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

On black

7.09
#5997EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5997EE
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5997EE#FFFFFF#000000##000000
##5997EE1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719EF2
Deuteranopia (green-blind)
#5C8FEC
Tritanopia (blue-blind)
#00ABB7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5997ee;
/* rgb */ color: rgb(89, 151, 238);
/* oklch */ color: oklch(67.4% 0.145 257.1);
Tailwind
colors: {
  custom: {
    50: '#95b5f4',
    500: '#5997ee',
    950: '#000000',
  },
}
SCSS
$custom: #5997ee;
$custom-light: #95b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5997ee",
  "rgb": {
    "r": 89,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 215.034,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67416,
    "c": 0.14479,
    "h": 257.1
  },
  "luminance": 0.3043
}

Semantic roles & 50–950 ramp

primary
#5997EE
secondary
#EBD6B7
accent
#8508DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5997EE

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

Preview Lab → · Contrast checker → · Palette generator →

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