#5897F2#5897F2

#5897F2 is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.6% C 0.150 H 257.7°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5897F2
RGBrgb(88, 151, 242)
HSLhsl(215, 86%, 65%)
HSVhsv(215, 64%, 95%)
CMYKcmyk(63.6%, 37.6%, 0%, 5.1%)
CIE-LABlab(62.18, 7.60, -51.68)
CIE-LCHlch(62.18, 52.24, 278.36°)
OKLaboklab(67.6% -0.0321 -0.1469)
OKLCHoklch(67.6% 0.15 257.7)
XYZxyz(31.1124, 30.6157, 88.2570)
Luminance0.3062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5897F2 #F2B358
analogous
#58E4F2 #5897F2 #6658F2
triadic
#5897F2 #F25897 #97F258
tetradic
#5897F2 #F258E4 #F2B358 #58F266
square
#5897F2 #F258E4 #F2B358 #58F266
split-complementary
#5897F2 #F26658 #E4F258
monochromatic
#0F58C1 #1F74EE #5897F2 #91BAF6 #CADEFB

Accessibility & contrast

On white

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

On black

7.12
#5897F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5897F2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5897F2#FFFFFF#000000##000000
##5897F21.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5897f2;
/* rgb */ color: rgb(88, 151, 242);
/* oklch */ color: oklch(67.6% 0.150 257.7);
Tailwind
colors: {
  custom: {
    50: '#95b5f7',
    500: '#5897f2',
    950: '#000000',
  },
}
SCSS
$custom: #5897f2;
$custom-light: #95b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5897f2",
  "rgb": {
    "r": 88,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 215.455,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67596,
    "c": 0.15035,
    "h": 257.7
  },
  "luminance": 0.30619
}

Semantic roles & 50–950 ramp

primary
#5897F2
secondary
#EDD8B8
accent
#8703E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5897F2

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

Preview Lab → · Contrast checker → · Palette generator →

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