#5998FF#5998FF

#5998FF is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.6% C 0.166 H 259.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5998FF
RGBrgb(89, 152, 255)
HSLhsl(217, 100%, 67%)
HSVhsv(217, 65%, 100%)
CMYKcmyk(65.1%, 40.4%, 0%, 0%)
CIE-LABlab(63.17, 11.54, -57.23)
CIE-LCHlch(63.17, 58.38, 281.40°)
OKLaboklab(68.6% -0.0295 -0.1631)
OKLCHoklch(68.6% 0.166 259.7)
XYZxyz(33.3916, 31.7970, 98.9660)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5998FF #FFC059
analogous
#59EBFF #5998FF #6D59FF
triadic
#5998FF #FF5998 #98FF59
tetradic
#5998FF #FF59EB #FFC059 #59FF6D
square
#5998FF #FF59EB #FFC059 #59FF6D
split-complementary
#5998FF #FF6D59 #EBFF59
monochromatic
#0054DE #1C72FF #5998FF #96BEFF #D3E4FF

Accessibility & contrast

On white

2.85
#5998FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#5998FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5998FF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5998FF#FFFFFF#000000##000000
##5998FF1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A1FF
Deuteranopia (green-blind)
#4F92FD
Tritanopia (blue-blind)
#00B0BF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5998ff;
/* rgb */ color: rgb(89, 152, 255);
/* oklch */ color: oklch(68.6% 0.166 259.7);
Tailwind
colors: {
  custom: {
    50: '#97b5ff',
    500: '#5998ff',
    950: '#000000',
  },
}
SCSS
$custom: #5998ff;
$custom-light: #97b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5998ff",
  "rgb": {
    "r": 89,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 217.229,
    "s": 100,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68599,
    "c": 0.16576,
    "h": 259.7
  },
  "luminance": 0.318
}

Semantic roles & 50–950 ramp

primary
#5998FF
secondary
#F4E0C0
accent
#8E00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1118
muted
#7F8086

Preview Lab

Preview with #5998FF

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

Preview Lab → · Contrast checker → · Palette generator →

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