#5898F9#5898F9

#5898F9 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.2% C 0.158 H 258.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#5898F9
RGBrgb(88, 152, 249)
HSLhsl(216, 93%, 66%)
HSVhsv(216, 65%, 98%)
CMYKcmyk(64.7%, 39%, 0%, 2.4%)
CIE-LABlab(62.82, 9.36, -54.52)
CIE-LCHlch(62.82, 55.31, 279.74°)
OKLaboklab(68.21% -0.0315 -0.1552)
OKLCHoklch(68.21% 0.158 258.5)
XYZxyz(32.3455, 31.3676, 93.9541)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5898F9 #F9B958
analogous
#58E9F9 #5898F9 #6858F9
triadic
#5898F9 #F95898 #98F958
tetradic
#5898F9 #F958E9 #F9B958 #58F968
square
#5898F9 #F958E9 #F9B958 #58F968
split-complementary
#5898F9 #F96858 #E9F958
monochromatic
#0757CF #1D74F7 #5898F9 #93BCFB #CEE1FD

Accessibility & contrast

On white

2.89
#5898F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#5898F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5898F9
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5898F9#FFFFFF#000000##000000
##5898F91.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA0FD
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5898f9;
/* rgb */ color: rgb(88, 152, 249);
/* oklch */ color: oklch(68.2% 0.158 258.5);
Tailwind
colors: {
  custom: {
    50: '#96b5fc',
    500: '#5898f9',
    950: '#000000',
  },
}
SCSS
$custom: #5898f9;
$custom-light: #96b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5898f9",
  "rgb": {
    "r": 88,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 216.149,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68207,
    "c": 0.15835,
    "h": 258.5
  },
  "luminance": 0.31371
}

Semantic roles & 50–950 ramp

primary
#5898F9
secondary
#F1DCBC
accent
#8A00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5898F9

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

Preview Lab → · Contrast checker → · Palette generator →

#5898F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva