#5A98CC#5A98CC

#5A98CC is a light, moderate cyan. Relative luminance 0.290; OKLCH L 65.9% C 0.101 H 245.5°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5A98CC
RGBrgb(90, 152, 204)
HSLhsl(207, 53%, 58%)
HSVhsv(207, 56%, 80%)
CMYKcmyk(55.9%, 25.5%, 0%, 20%)
CIE-LABlab(60.77, -4.92, -32.80)
CIE-LCHlch(60.77, 33.17, 261.46°)
OKLaboklab(65.93% -0.042 -0.0919)
OKLCHoklch(65.93% 0.101 245.5)
XYZxyz(26.3398, 28.9875, 61.3221)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98CC #CC8E5A
analogous
#5ACCC7 #5A98CC #5A5FCC
triadic
#5A98CC #CC5A98 #98CC5A
tetradic
#5A98CC #C75ACC #CC8E5A #5FCC5A
square
#5A98CC #C75ACC #CC8E5A #5FCC5A
split-complementary
#5A98CC #CC5A5F #CCC75A
monochromatic
#295A83 #377AB2 #5A98CC #89B5DA #B7D2E9

Accessibility & contrast

On white

3.09
#5A98CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#5A98CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A98CC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98CC#FFFFFF#000000##000000
##5A98CC1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8299CE
Deuteranopia (green-blind)
#738ECB
Tritanopia (blue-blind)
#00A4AA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5a98cc;
/* rgb */ color: rgb(90, 152, 204);
/* oklch */ color: oklch(65.9% 0.101 245.5);
Tailwind
colors: {
  custom: {
    50: '#91b6db',
    500: '#5a98cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a98cc;
$custom-light: #91b6db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98cc",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 204
  },
  "hsl": {
    "h": 207.368,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65931,
    "c": 0.10108,
    "h": 245.5
  },
  "luminance": 0.2899
}

Semantic roles & 50–950 ramp

primary
#5A98CC
secondary
#D8BFAA
accent
#8E4CDC
background
#F9FBFD
surface
#F2F6FB
border
#CCD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5A98CC

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

Preview Lab → · Contrast checker → · Palette generator →

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