#5998FD#5998FD

#5998FD is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.5% C 0.163 H 259.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5998FD
RGBrgb(89, 152, 253)
HSLhsl(217, 98%, 67%)
HSVhsv(217, 65%, 99%)
CMYKcmyk(64.8%, 39.9%, 0%, 0.8%)
CIE-LABlab(63.07, 10.86, -56.30)
CIE-LCHlch(63.07, 57.34, 280.92°)
OKLaboklab(68.48% -0.0299 -0.1604)
OKLCHoklch(68.48% 0.163 259.4)
XYZxyz(33.0714, 31.6689, 97.2793)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5998FD #FDBE59
analogous
#59EAFD #5998FD #6C59FD
triadic
#5998FD #FD5998 #98FD59
tetradic
#5998FD #FD59EA #FDBE59 #59FD6C
square
#5998FD #FD59EA #FDBE59 #59FD6C
split-complementary
#5998FD #FD6C59 #EAFD59
monochromatic
#0355D9 #1D72FC #5998FD #95BEFE #D2E3FE

Accessibility & contrast

On white

2.86
#5998FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#5998FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5998FD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5998FD#FFFFFF#000000##000000
##5998FD1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#5192FB
Tritanopia (blue-blind)
#00AFBE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5998fd;
/* rgb */ color: rgb(89, 152, 253);
/* oklch */ color: oklch(68.5% 0.163 259.4);
Tailwind
colors: {
  custom: {
    50: '#97b5fe',
    500: '#5998fd',
    950: '#000000',
  },
}
SCSS
$custom: #5998fd;
$custom-light: #97b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#5998fd",
  "rgb": {
    "r": 89,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 216.951,
    "s": 97.619,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68482,
    "c": 0.16317,
    "h": 259.4
  },
  "luminance": 0.31672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5998FD

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

Preview Lab → · Contrast checker → · Palette generator →

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