#5D98DC#5D98DC

#5D98DC is a light, moderate cyan. Relative luminance 0.300; OKLCH L 66.9% C 0.119 H 253.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5D98DC
RGBrgb(93, 152, 220)
HSLhsl(212, 64%, 61%)
HSVhsv(212, 58%, 86%)
CMYKcmyk(57.7%, 30.9%, 0%, 13.7%)
CIE-LABlab(61.61, 0.75, -40.41)
CIE-LCHlch(61.61, 40.41, 271.06°)
OKLaboklab(66.86% -0.0347 -0.1139)
OKLCHoklch(66.86% 0.119 253)
XYZxyz(28.6561, 29.9484, 71.9668)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D98DC #DCA15D
analogous
#5DD8DC #5D98DC #625DDC
triadic
#5D98DC #DC5D98 #98DC5D
tetradic
#5D98DC #DC5DD8 #DCA15D #5DDC62
square
#5D98DC #DC5DD8 #DCA15D #5DDC62
split-complementary
#5D98DC #DC625D #D8DC5D
monochromatic
#225B9D #2D78CF #5D98DC #8FB8E7 #C2D8F2

Accessibility & contrast

On white

3.00
#5D98DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#5D98DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D98DC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D98DC#FFFFFF#000000##000000
##5D98DC1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9CDF
Deuteranopia (green-blind)
#6B8FDB
Tritanopia (blue-blind)
#00A8B0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5d98dc;
/* rgb */ color: rgb(93, 152, 220);
/* oklch */ color: oklch(66.9% 0.119 253.0);
Tailwind
colors: {
  custom: {
    50: '#94b6e7',
    500: '#5d98dc',
    950: '#000000',
  },
}
SCSS
$custom: #5d98dc;
$custom-light: #94b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d98dc",
  "rgb": {
    "r": 93,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 212.126,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6686,
    "c": 0.11909,
    "h": 253
  },
  "luminance": 0.29951
}

Semantic roles & 50–950 ramp

primary
#5D98DC
secondary
#E2CCB3
accent
#7919CC
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5D98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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