#5897FB#5897FB

#5897FB is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.1% C 0.162 H 259.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5897FB
RGBrgb(88, 151, 251)
HSLhsl(217, 95%, 66%)
HSVhsv(217, 65%, 98%)
CMYKcmyk(64.9%, 39.8%, 0%, 1.6%)
CIE-LABlab(62.65, 10.62, -55.88)
CIE-LCHlch(62.65, 56.87, 280.76°)
OKLaboklab(68.11% -0.0301 -0.1592)
OKLCHoklch(68.11% 0.162 259.3)
XYZxyz(32.4975, 31.1698, 95.5518)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5897FB #FBBC58
analogous
#58E9FB #5897FB #6B58FB
triadic
#5897FB #FB5897 #97FB58
tetradic
#5897FB #FB58E9 #FBBC58 #58FB6B
square
#5897FB #FB58E9 #FBBC58 #58FB6B
split-complementary
#5897FB #FB6B58 #E9FB58
monochromatic
#0555D4 #1C72FA #5897FB #94BCFC #D0E1FE

Accessibility & contrast

On white

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

On black

7.23
#5897FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5897FB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5897FB#FFFFFF#000000##000000
##5897FB1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#5191F9
Tritanopia (blue-blind)
#00AEBD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5897fb;
/* rgb */ color: rgb(88, 151, 251);
/* oklch */ color: oklch(68.1% 0.162 259.3);
Tailwind
colors: {
  custom: {
    50: '#96b5fd',
    500: '#5897fb',
    950: '#000000',
  },
}
SCSS
$custom: #5897fb;
$custom-light: #96b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5897fb",
  "rgb": {
    "r": 88,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 216.81,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68113,
    "c": 0.162,
    "h": 259.3
  },
  "luminance": 0.31173
}

Semantic roles & 50–950 ramp

primary
#5897FB
secondary
#F2DDBD
accent
#8D00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1118
muted
#7E8086

Preview Lab

Preview with #5897FB

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

Preview Lab → · Contrast checker → · Palette generator →

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