#5A97DB#5A97DB

#5A97DB is a light, vivid cyan. Relative luminance 0.294; OKLCH L 66.4% C 0.120 H 252.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5A97DB
RGBrgb(90, 151, 219)
HSLhsl(212, 64%, 61%)
HSVhsv(212, 59%, 86%)
CMYKcmyk(58.9%, 31.1%, 0%, 14.1%)
CIE-LABlab(61.15, 0.41, -40.58)
CIE-LCHlch(61.15, 40.58, 270.58°)
OKLaboklab(66.45% -0.0363 -0.1145)
OKLCHoklch(66.45% 0.12 252.4)
XYZxyz(28.0647, 29.4188, 71.2035)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97DB #DB9E5A
analogous
#5AD7DB #5A97DB #5D5ADB
triadic
#5A97DB #DB5A97 #97DB5A
tetradic
#5A97DB #DB5AD7 #DB9E5A #5ADB5D
square
#5A97DB #DB5AD7 #DB9E5A #5ADB5D
split-complementary
#5A97DB #DB5D5A #D7DB5A
monochromatic
#215A99 #2C78CB #5A97DB #8CB7E6 #BED6F1

Accessibility & contrast

On white

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

On black

6.88
#5A97DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A97DB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97DB#FFFFFF#000000##000000
##5A97DB1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADE
Deuteranopia (green-blind)
#698EDA
Tritanopia (blue-blind)
#00A7AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a97db;
/* rgb */ color: rgb(90, 151, 219);
/* oklch */ color: oklch(66.4% 0.120 252.4);
Tailwind
colors: {
  custom: {
    50: '#92b5e6',
    500: '#5a97db',
    950: '#000000',
  },
}
SCSS
$custom: #5a97db;
$custom-light: #92b5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97db",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 211.628,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66448,
    "c": 0.1201,
    "h": 252.4
  },
  "luminance": 0.29421
}

Semantic roles & 50–950 ramp

primary
#5A97DB
secondary
#E1CAB0
accent
#781ACC
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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