#5897F1#5897F1

#5897F1 is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.5% C 0.149 H 257.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5897F1
RGBrgb(88, 151, 241)
HSLhsl(215, 85%, 65%)
HSVhsv(215, 63%, 95%)
CMYKcmyk(63.5%, 37.3%, 0%, 5.5%)
CIE-LABlab(62.13, 7.26, -51.21)
CIE-LCHlch(62.13, 51.72, 278.07°)
OKLaboklab(67.54% -0.0323 -0.1455)
OKLCHoklch(67.54% 0.149 257.5)
XYZxyz(30.9626, 30.5558, 87.4682)
Luminance0.3056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5897F1 #F1B258
analogous
#58E4F1 #5897F1 #6658F1
triadic
#5897F1 #F15897 #97F158
tetradic
#5897F1 #F158E4 #F1B258 #58F166
square
#5897F1 #F158E4 #F1B258 #58F166
split-complementary
#5897F1 #F16658 #E4F158
monochromatic
#1058BF #2074EC #5897F1 #90BAF6 #C9DDFA

Accessibility & contrast

On white

2.95
#5897F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#5897F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5897F1
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5897F1#FFFFFF#000000##000000
##5897F11.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF5
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5897f1;
/* rgb */ color: rgb(88, 151, 241);
/* oklch */ color: oklch(67.5% 0.149 257.5);
Tailwind
colors: {
  custom: {
    50: '#95b5f6',
    500: '#5897f1',
    950: '#000000',
  },
}
SCSS
$custom: #5897f1;
$custom-light: #95b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5897f1",
  "rgb": {
    "r": 88,
    "g": 151,
    "b": 241
  },
  "hsl": {
    "h": 215.294,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6754,
    "c": 0.14906,
    "h": 257.5
  },
  "luminance": 0.30559
}

Semantic roles & 50–950 ramp

primary
#5897F1
secondary
#EDD7B8
accent
#8605E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5897F1

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

Preview Lab → · Contrast checker → · Palette generator →

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