#5998F8#5998F8

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

Color values

HEX#5998F8
RGBrgb(89, 152, 248)
HSLhsl(216, 92%, 66%)
HSVhsv(216, 64%, 97%)
CMYKcmyk(64.1%, 38.7%, 0%, 2.7%)
CIE-LABlab(62.81, 9.19, -53.98)
CIE-LCHlch(62.81, 54.76, 279.66°)
OKLaboklab(68.19% -0.031 -0.1536)
OKLCHoklch(68.19% 0.157 258.6)
XYZxyz(32.2853, 31.3545, 93.1393)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5998F8 #F8B959
analogous
#59E8F8 #5998F8 #6959F8
triadic
#5998F8 #F85998 #98F859
tetradic
#5998F8 #F859E8 #F8B959 #59F869
square
#5998F8 #F859E8 #F8B959 #59F869
split-complementary
#5998F8 #F86959 #E8F859
monochromatic
#0957CE #1E74F6 #5998F8 #94BCFA #CEE1FD

Accessibility & contrast

On white

2.89
#5998F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#5998F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5998F8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5998F8#FFFFFF#000000##000000
##5998F81.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)
#6DA0FC
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#00AEBC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5998f8;
/* rgb */ color: rgb(89, 152, 248);
/* oklch */ color: oklch(68.2% 0.157 258.6);
Tailwind
colors: {
  custom: {
    50: '#96b5fb',
    500: '#5998f8',
    950: '#000000',
  },
}
SCSS
$custom: #5998f8;
$custom-light: #96b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5998f8",
  "rgb": {
    "r": 89,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 216.226,
    "s": 91.908,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68193,
    "c": 0.15669,
    "h": 258.6
  },
  "luminance": 0.31358
}

Semantic roles & 50–950 ramp

primary
#5998F8
secondary
#F1DCBC
accent
#8B00E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5998F8

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

Preview Lab → · Contrast checker → · Palette generator →

#5998F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva