#5E98DC#5E98DC

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

Color values

HEX#5E98DC
RGBrgb(94, 152, 220)
HSLhsl(212, 64%, 62%)
HSVhsv(212, 57%, 86%)
CMYKcmyk(57.3%, 30.9%, 0%, 13.7%)
CIE-LABlab(61.66, 0.95, -40.33)
CIE-LCHlch(61.66, 40.34, 271.35°)
OKLaboklab(66.91% -0.0339 -0.1137)
OKLCHoklch(66.91% 0.119 253.4)
XYZxyz(28.7580, 30.0010, 71.9716)
Luminance0.3000 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E98DC #DCA25E
analogous
#5ED7DC #5E98DC #635EDC
triadic
#5E98DC #DC5E98 #98DC5E
tetradic
#5E98DC #DC5ED7 #DCA25E #5EDC63
square
#5E98DC #DC5ED7 #DCA25E #5EDC63
split-complementary
#5E98DC #DC635E #D7DC5E
monochromatic
#225B9D #2D78D0 #5E98DC #90B8E7 #C3D8F2

Accessibility & contrast

On white

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

On black

7.00
#5E98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5E98DC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E98DC#FFFFFF#000000##000000
##5E98DC1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.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: #5e98dc;
/* rgb */ color: rgb(94, 152, 220);
/* oklch */ color: oklch(66.9% 0.119 253.4);
Tailwind
colors: {
  custom: {
    50: '#95b6e7',
    500: '#5e98dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e98dc;
$custom-light: #95b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e98dc",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 212.381,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.66908,
    "c": 0.11863,
    "h": 253.4
  },
  "luminance": 0.30003
}

Semantic roles & 50–950 ramp

primary
#5E98DC
secondary
#E2CDB3
accent
#7A19CC
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5E98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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