#5897FE#5897FE

#5897FE is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.3% C 0.166 H 259.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5897FE
RGBrgb(88, 151, 254)
HSLhsl(217, 99%, 67%)
HSVhsv(217, 65%, 100%)
CMYKcmyk(65.4%, 40.6%, 0%, 0.4%)
CIE-LABlab(62.81, 11.63, -57.26)
CIE-LCHlch(62.81, 58.43, 281.48°)
OKLaboklab(68.29% -0.0295 -0.1632)
OKLCHoklch(68.29% 0.166 259.7)
XYZxyz(32.9741, 31.3604, 98.0621)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5897FE #FEBF58
analogous
#58EAFE #5897FE #6C58FE
triadic
#5897FE #FE5897 #97FE58
tetradic
#5897FE #FE58EA #FEBF58 #58FE6C
square
#5897FE #FE58EA #FEBF58 #58FE6C
split-complementary
#5897FE #FE6C58 #EAFE58
monochromatic
#0154DA #1B71FE #5897FE #95BDFE #D2E3FF

Accessibility & contrast

On white

2.89
#5897FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#5897FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5897FE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5897FE#FFFFFF#000000##000000
##5897FE1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#4E91FC
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5897fe;
/* rgb */ color: rgb(88, 151, 254);
/* oklch */ color: oklch(68.3% 0.166 259.7);
Tailwind
colors: {
  custom: {
    50: '#97b5ff',
    500: '#5897fe',
    950: '#000000',
  },
}
SCSS
$custom: #5897fe;
$custom-light: #97b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5897fe",
  "rgb": {
    "r": 88,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 217.229,
    "s": 98.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68289,
    "c": 0.16589,
    "h": 259.7
  },
  "luminance": 0.31364
}

Semantic roles & 50–950 ramp

primary
#5897FE
secondary
#F3DFBF
accent
#8E00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5897FE

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

Preview Lab → · Contrast checker → · Palette generator →

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