#5898FC#5898FC

#5898FC is a light, vivid blue. Relative luminance 0.316; OKLCH L 68.4% C 0.162 H 259.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5898FC
RGBrgb(88, 152, 252)
HSLhsl(217, 96%, 67%)
HSVhsv(217, 65%, 99%)
CMYKcmyk(65.1%, 39.7%, 0%, 1.2%)
CIE-LABlab(62.97, 10.36, -55.91)
CIE-LCHlch(62.97, 56.86, 280.50°)
OKLaboklab(68.38% -0.0309 -0.1592)
OKLCHoklch(68.38% 0.162 259)
XYZxyz(32.8171, 31.5562, 96.4381)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5898FC #FCBC58
analogous
#58EAFC #5898FC #6A58FC
triadic
#5898FC #FC5898 #98FC58
tetradic
#5898FC #FC58EA #FCBC58 #58FC6A
square
#5898FC #FC58EA #FCBC58 #58FC6A
split-complementary
#5898FC #FC6A58 #EAFC58
monochromatic
#0456D6 #1C73FB #5898FC #94BDFD #D0E2FE

Accessibility & contrast

On white

2.87
#5898FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#5898FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5898FC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5898FC#FFFFFF#000000##000000
##5898FC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA1FF
Deuteranopia (green-blind)
#5291FA
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5898fc;
/* rgb */ color: rgb(88, 152, 252);
/* oklch */ color: oklch(68.4% 0.162 259.0);
Tailwind
colors: {
  custom: {
    50: '#96b5fe',
    500: '#5898fc',
    950: '#000000',
  },
}
SCSS
$custom: #5898fc;
$custom-light: #96b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5898fc",
  "rgb": {
    "r": 88,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 216.585,
    "s": 96.471,
    "l": 66.667
  },
  "oklch": {
    "l": 0.68381,
    "c": 0.16222,
    "h": 259
  },
  "luminance": 0.31559
}

Semantic roles & 50–950 ramp

primary
#5898FC
secondary
#F2DEBD
accent
#8C00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5898FC

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

Preview Lab → · Contrast checker → · Palette generator →

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