#5898FE#5898FE

#5898FE is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.5% C 0.165 H 259.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#5898FE
RGBrgb(88, 152, 254)
HSLhsl(217, 99%, 67%)
HSVhsv(217, 65%, 100%)
CMYKcmyk(65.4%, 40.2%, 0%, 0.4%)
CIE-LABlab(63.08, 11.04, -56.83)
CIE-LCHlch(63.08, 57.89, 280.99°)
OKLaboklab(68.5% -0.0305 -0.162)
OKLCHoklch(68.5% 0.165 259.3)
XYZxyz(33.1357, 31.6837, 98.1160)
Luminance0.3169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5898FE #FEBE58
analogous
#58EBFE #5898FE #6B58FE
triadic
#5898FE #FE5898 #98FE58
tetradic
#5898FE #FE58EB #FEBE58 #58FE6B
square
#5898FE #FE58EB #FEBE58 #58FE6B
split-complementary
#5898FE #FE6B58 #EBFE58
monochromatic
#0155DA #1B72FE #5898FE #95BEFE #D2E3FF

Accessibility & contrast

On white

2.86
#5898FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#5898FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5898FE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5898FE#FFFFFF#000000##000000
##5898FE1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#5092FC
Tritanopia (blue-blind)
#00AFBF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5898fe;
/* rgb */ color: rgb(88, 152, 254);
/* oklch */ color: oklch(68.5% 0.165 259.3);
Tailwind
colors: {
  custom: {
    50: '#97b5ff',
    500: '#5898fe',
    950: '#000000',
  },
}
SCSS
$custom: #5898fe;
$custom-light: #97b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5898fe",
  "rgb": {
    "r": 88,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 216.867,
    "s": 98.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68498,
    "c": 0.16481,
    "h": 259.3
  },
  "luminance": 0.31687
}

Semantic roles & 50–950 ramp

primary
#5898FE
secondary
#F3DFBF
accent
#8D00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5898FE

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

Preview Lab → · Contrast checker → · Palette generator →

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