#5A98DD#5A98DD

#5A98DD is a light, vivid cyan. Relative luminance 0.299; OKLCH L 66.8% C 0.122 H 252.4°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5A98DD
RGBrgb(90, 152, 221)
HSLhsl(212, 66%, 61%)
HSVhsv(212, 59%, 87%)
CMYKcmyk(59.3%, 31.2%, 0%, 13.3%)
CIE-LABlab(61.52, 0.48, -41.11)
CIE-LCHlch(61.52, 41.11, 270.66°)
OKLaboklab(66.77% -0.0369 -0.116)
OKLCHoklch(66.77% 0.122 252.4)
XYZxyz(28.4911, 29.8480, 72.6524)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98DD #DD9F5A
analogous
#5AD9DD #5A98DD #5D5ADD
triadic
#5A98DD #DD5A98 #98DD5A
tetradic
#5A98DD #DD5AD9 #DD9F5A #5ADD5D
square
#5A98DD #DD5AD9 #DD9F5A #5ADD5D
split-complementary
#5A98DD #DD5D5A #D9DD5A
monochromatic
#205B9C #2B79CF #5A98DD #8DB8E7 #BFD7F2

Accessibility & contrast

On white

3.01
#5A98DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#5A98DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A98DD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98DD#FFFFFF#000000##000000
##5A98DD1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9CE0
Deuteranopia (green-blind)
#6A8FDC
Tritanopia (blue-blind)
#00A8B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a98dd;
/* rgb */ color: rgb(90, 152, 221);
/* oklch */ color: oklch(66.8% 0.122 252.4);
Tailwind
colors: {
  custom: {
    50: '#93b6e8',
    500: '#5a98dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a98dd;
$custom-light: #93b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98dd",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 211.603,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66771,
    "c": 0.12171,
    "h": 252.4
  },
  "luminance": 0.29851
}

Semantic roles & 50–950 ramp

primary
#5A98DD
secondary
#E2CBB1
accent
#7818CE
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A98DD

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

Preview Lab → · Contrast checker → · Palette generator →

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