#5897F9#5897F9

#5897F9 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.0% C 0.159 H 258.9°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5897F9
RGBrgb(88, 151, 249)
HSLhsl(217, 93%, 66%)
HSVhsv(217, 65%, 98%)
CMYKcmyk(64.7%, 39.4%, 0%, 2.4%)
CIE-LABlab(62.55, 9.94, -54.95)
CIE-LCHlch(62.55, 55.84, 280.26°)
OKLaboklab(68% -0.0306 -0.1564)
OKLCHoklch(68% 0.159 258.9)
XYZxyz(32.1839, 31.0443, 93.9002)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5897F9 #F9BA58
analogous
#58E7F9 #5897F9 #6958F9
triadic
#5897F9 #F95897 #97F958
tetradic
#5897F9 #F958E7 #F9BA58 #58F969
square
#5897F9 #F958E7 #F9BA58 #58F969
split-complementary
#5897F9 #F96958 #E7F958
monochromatic
#0756CF #1D72F7 #5897F9 #93BCFB #CEE1FD

Accessibility & contrast

On white

2.91
#5897F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5897F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5897F9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5897F9#FFFFFF#000000##000000
##5897F91.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFD
Deuteranopia (green-blind)
#5390F7
Tritanopia (blue-blind)
#00ADBC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5897f9;
/* rgb */ color: rgb(88, 151, 249);
/* oklch */ color: oklch(68.0% 0.159 258.9);
Tailwind
colors: {
  custom: {
    50: '#96b5fc',
    500: '#5897f9',
    950: '#000000',
  },
}
SCSS
$custom: #5897f9;
$custom-light: #96b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5897f9",
  "rgb": {
    "r": 88,
    "g": 151,
    "b": 249
  },
  "hsl": {
    "h": 216.522,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.67996,
    "c": 0.15941,
    "h": 258.9
  },
  "luminance": 0.31047
}

Semantic roles & 50–950 ramp

primary
#5897F9
secondary
#F1DCBC
accent
#8C00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5897F9

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

Preview Lab → · Contrast checker → · Palette generator →

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