#5A98DC#5A98DC

#5A98DC is a light, vivid cyan. Relative luminance 0.298; OKLCH L 66.7% C 0.120 H 252.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5A98DC
RGBrgb(90, 152, 220)
HSLhsl(211, 65%, 61%)
HSVhsv(211, 59%, 86%)
CMYKcmyk(59.1%, 30.9%, 0%, 13.7%)
CIE-LABlab(61.48, 0.15, -40.62)
CIE-LCHlch(61.48, 40.62, 270.22°)
OKLaboklab(66.72% -0.0371 -0.1146)
OKLCHoklch(66.72% 0.12 252)
XYZxyz(28.3583, 29.7949, 71.9528)
Luminance0.2980 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98DC #DC9E5A
analogous
#5AD9DC #5A98DC #5D5ADC
triadic
#5A98DC #DC5A98 #98DC5A
tetradic
#5A98DC #DC5AD9 #DC9E5A #5ADC5D
square
#5A98DC #DC5AD9 #DC9E5A #5ADC5D
split-complementary
#5A98DC #DC5D5A #D9DC5A
monochromatic
#215B9B #2C79CD #5A98DC #8CB8E7 #BFD7F1

Accessibility & contrast

On white

3.02
#5A98DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#5A98DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A98DC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98DC#FFFFFF#000000##000000
##5A98DC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDF
Deuteranopia (green-blind)
#6A8FDB
Tritanopia (blue-blind)
#00A8B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a98dc;
/* rgb */ color: rgb(90, 152, 220);
/* oklch */ color: oklch(66.7% 0.120 252.0);
Tailwind
colors: {
  custom: {
    50: '#93b6e7',
    500: '#5a98dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a98dc;
$custom-light: #93b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98dc",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 211.385,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66719,
    "c": 0.12046,
    "h": 252
  },
  "luminance": 0.29797
}

Semantic roles & 50–950 ramp

primary
#5A98DC
secondary
#E2CAB0
accent
#7719CD
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A98DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5A98DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva