#5A97DD#5A97DD

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

Color values

HEX#5A97DD
RGBrgb(90, 151, 221)
HSLhsl(212, 66%, 61%)
HSVhsv(212, 59%, 87%)
CMYKcmyk(59.3%, 31.7%, 0%, 13.3%)
CIE-LABlab(61.24, 1.05, -41.55)
CIE-LCHlch(61.24, 41.56, 271.45°)
OKLaboklab(66.55% -0.0358 -0.1173)
OKLCHoklch(66.55% 0.123 253)
XYZxyz(28.3295, 29.5248, 72.5985)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97DD #DDA05A
analogous
#5AD8DD #5A97DD #5E5ADD
triadic
#5A97DD #DD5A97 #97DD5A
tetradic
#5A97DD #DD5AD8 #DDA05A #5ADD5E
square
#5A97DD #DD5AD8 #DDA05A #5ADD5E
split-complementary
#5A97DD #DD5E5A #D8DD5A
monochromatic
#205A9C #2B77CF #5A97DD #8DB7E7 #BFD7F2

Accessibility & contrast

On white

3.04
#5A97DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#5A97DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A97DD
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97DD#FFFFFF#000000##000000
##5A97DD1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BE0
Deuteranopia (green-blind)
#688EDC
Tritanopia (blue-blind)
#00A7B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a97dd;
/* rgb */ color: rgb(90, 151, 221);
/* oklch */ color: oklch(66.5% 0.123 253.0);
Tailwind
colors: {
  custom: {
    50: '#93b5e8',
    500: '#5a97dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a97dd;
$custom-light: #93b5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97dd",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 212.061,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.6655,
    "c": 0.12262,
    "h": 253
  },
  "luminance": 0.29527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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