#5897FC#5897FC

#5897FC is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.2% C 0.163 H 259.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#5897FC
RGBrgb(88, 151, 252)
HSLhsl(217, 96%, 67%)
HSVhsv(217, 65%, 99%)
CMYKcmyk(65.1%, 40.1%, 0%, 1.2%)
CIE-LABlab(62.70, 10.95, -56.34)
CIE-LCHlch(62.70, 57.39, 281.00°)
OKLaboklab(68.17% -0.0299 -0.1605)
OKLCHoklch(68.17% 0.163 259.4)
XYZxyz(32.6555, 31.2330, 96.3842)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5897FC #FCBD58
analogous
#58E9FC #5897FC #6B58FC
triadic
#5897FC #FC5897 #97FC58
tetradic
#5897FC #FC58E9 #FCBD58 #58FC6B
square
#5897FC #FC58E9 #FCBD58 #58FC6B
split-complementary
#5897FC #FC6B58 #E9FC58
monochromatic
#0454D6 #1C72FB #5897FC #94BCFD #D0E2FE

Accessibility & contrast

On white

2.90
#5897FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#5897FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5897FC
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5897FC#FFFFFF#000000##000000
##5897FC1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#5091FA
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5897fc;
/* rgb */ color: rgb(88, 151, 252);
/* oklch */ color: oklch(68.2% 0.163 259.4);
Tailwind
colors: {
  custom: {
    50: '#96b5fe',
    500: '#5897fc',
    950: '#000000',
  },
}
SCSS
$custom: #5897fc;
$custom-light: #96b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5897fc",
  "rgb": {
    "r": 88,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 216.951,
    "s": 96.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68171,
    "c": 0.1633,
    "h": 259.4
  },
  "luminance": 0.31236
}

Semantic roles & 50–950 ramp

primary
#5897FC
secondary
#F2DEBD
accent
#8D00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5897FC

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

Preview Lab → · Contrast checker → · Palette generator →

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