#5897EF#5897EF

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

Color values

HEX#5897EF
RGBrgb(88, 151, 239)
HSLhsl(215, 83%, 64%)
HSVhsv(215, 63%, 94%)
CMYKcmyk(63.2%, 36.8%, 0%, 6.3%)
CIE-LABlab(62.03, 6.60, -50.27)
CIE-LCHlch(62.03, 50.70, 277.48°)
OKLaboklab(67.43% -0.0328 -0.1428)
OKLCHoklch(67.43% 0.146 257.1)
XYZxyz(30.6655, 30.4370, 85.9035)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5897EF #EFB058
analogous
#58E3EF #5897EF #6558EF
triadic
#5897EF #EF5897 #97EF58
tetradic
#5897EF #EF58E3 #EFB058 #58EF65
square
#5897EF #EF58E3 #EFB058 #58EF65
split-complementary
#5897EF #EF6558 #E3EF58
monochromatic
#1258BB #2074EA #5897EF #90BAF4 #C8DDFA

Accessibility & contrast

On white

2.96
#5897EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#5897EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5897EF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5897EF#FFFFFF#000000##000000
##5897EF1.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)
#719EF3
Deuteranopia (green-blind)
#5B8FED
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5897ef;
/* rgb */ color: rgb(88, 151, 239);
/* oklch */ color: oklch(67.4% 0.146 257.1);
Tailwind
colors: {
  custom: {
    50: '#94b5f4',
    500: '#5897ef',
    950: '#000000',
  },
}
SCSS
$custom: #5897ef;
$custom-light: #94b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5897ef",
  "rgb": {
    "r": 88,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 214.967,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67428,
    "c": 0.14648,
    "h": 257.1
  },
  "luminance": 0.3044
}

Semantic roles & 50–950 ramp

primary
#5897EF
secondary
#ECD6B7
accent
#8507DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5897EF

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

Preview Lab → · Contrast checker → · Palette generator →

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