#5797FF#5797FF

#5797FF is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.3% C 0.168 H 259.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5797FF
RGBrgb(87, 151, 255)
HSLhsl(217, 100%, 67%)
HSVhsv(217, 66%, 100%)
CMYKcmyk(65.9%, 40.8%, 0%, 0%)
CIE-LABlab(62.82, 11.81, -57.79)
CIE-LCHlch(62.82, 58.98, 281.55°)
OKLaboklab(68.31% -0.0301 -0.1648)
OKLCHoklch(68.31% 0.168 259.6)
XYZxyz(33.0406, 31.3762, 98.9033)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5797FF #FFBF57
analogous
#57EBFF #5797FF #6B57FF
triadic
#5797FF #FF5797 #97FF57
tetradic
#5797FF #FF57EB #FFBF57 #57FF6B
square
#5797FF #FF57EB #FFBF57 #57FF6B
split-complementary
#5797FF #FF6B57 #EBFF57
monochromatic
#0054DC #1A71FF #5797FF #94BDFF #D1E3FF

Accessibility & contrast

On white

2.89
#5797FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#5797FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5797FF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5797FF#FFFFFF#000000##000000
##5797FF1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5797ff;
/* rgb */ color: rgb(87, 151, 255);
/* oklch */ color: oklch(68.3% 0.168 259.6);
Tailwind
colors: {
  custom: {
    50: '#96b5ff',
    500: '#5797ff',
    950: '#000000',
  },
}
SCSS
$custom: #5797ff;
$custom-light: #96b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5797ff",
  "rgb": {
    "r": 87,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 217.143,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68305,
    "c": 0.16754,
    "h": 259.6
  },
  "luminance": 0.31379
}

Semantic roles & 50–950 ramp

primary
#5797FF
secondary
#F4DFBE
accent
#8E00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5797FF

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

Preview Lab → · Contrast checker → · Palette generator →

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