#5A97DC#5A97DC

#5A97DC is a light, vivid cyan. Relative luminance 0.295; OKLCH L 66.5% C 0.121 H 252.7°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5A97DC
RGBrgb(90, 151, 220)
HSLhsl(212, 65%, 61%)
HSVhsv(212, 59%, 86%)
CMYKcmyk(59.1%, 31.4%, 0%, 13.7%)
CIE-LABlab(61.20, 0.73, -41.06)
CIE-LCHlch(61.20, 41.07, 271.02°)
OKLaboklab(66.5% -0.0361 -0.1159)
OKLCHoklch(66.5% 0.121 252.7)
XYZxyz(28.1967, 29.4717, 71.8989)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97DC #DC9F5A
analogous
#5AD8DC #5A97DC #5E5ADC
triadic
#5A97DC #DC5A97 #97DC5A
tetradic
#5A97DC #DC5AD8 #DC9F5A #5ADC5E
square
#5A97DC #DC5AD8 #DC9F5A #5ADC5E
split-complementary
#5A97DC #DC5E5A #D8DC5A
monochromatic
#215A9B #2C77CD #5A97DC #8CB7E7 #BFD7F1

Accessibility & contrast

On white

3.05
#5A97DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#5A97DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A97DC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97DC#FFFFFF#000000##000000
##5A97DC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BDF
Deuteranopia (green-blind)
#698EDB
Tritanopia (blue-blind)
#00A7B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a97dc;
/* rgb */ color: rgb(90, 151, 220);
/* oklch */ color: oklch(66.5% 0.121 252.7);
Tailwind
colors: {
  custom: {
    50: '#93b5e7',
    500: '#5a97dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a97dc;
$custom-light: #93b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97dc",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 211.846,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66499,
    "c": 0.12136,
    "h": 252.7
  },
  "luminance": 0.29474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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