#5897F7#5897F7

#5897F7 is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.9% C 0.157 H 258.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5897F7
RGBrgb(88, 151, 247)
HSLhsl(216, 91%, 66%)
HSVhsv(216, 64%, 97%)
CMYKcmyk(64.4%, 38.9%, 0%, 3.1%)
CIE-LABlab(62.44, 9.27, -54.02)
CIE-LCHlch(62.44, 54.81, 279.74°)
OKLaboklab(67.88% -0.031 -0.1537)
OKLCHoklch(67.88% 0.157 258.6)
XYZxyz(31.8736, 30.9202, 92.2661)
Luminance0.3092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5897F7 #F7B858
analogous
#58E7F7 #5897F7 #6858F7
triadic
#5897F7 #F75897 #97F758
tetradic
#5897F7 #F758E7 #F7B858 #58F768
square
#5897F7 #F758E7 #F7B858 #58F768
split-complementary
#5897F7 #F76858 #E7F758
monochromatic
#0A56CB #1E73F4 #5897F7 #92BBFA #CDE0FD

Accessibility & contrast

On white

2.92
#5897F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#5897F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5897F7
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5897F7#FFFFFF#000000##000000
##5897F71.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#00ADBB
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5897f7;
/* rgb */ color: rgb(88, 151, 247);
/* oklch */ color: oklch(67.9% 0.157 258.6);
Tailwind
colors: {
  custom: {
    50: '#95b5fa',
    500: '#5897f7',
    950: '#000000',
  },
}
SCSS
$custom: #5897f7;
$custom-light: #95b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5897f7",
  "rgb": {
    "r": 88,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 216.226,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.67881,
    "c": 0.15682,
    "h": 258.6
  },
  "luminance": 0.30923
}

Semantic roles & 50–950 ramp

primary
#5897F7
secondary
#F0DBBB
accent
#8B00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5897F7

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

Preview Lab → · Contrast checker → · Palette generator →

#5897F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva