#5A97E9#5A97E9

#5A97E9 is a light, vivid cyan. Relative luminance 0.302; OKLCH L 67.2% C 0.138 H 256.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5A97E9
RGBrgb(90, 151, 233)
HSLhsl(214, 76%, 63%)
HSVhsv(214, 61%, 91%)
CMYKcmyk(61.4%, 35.2%, 0%, 8.6%)
CIE-LABlab(61.82, 4.97, -47.29)
CIE-LCHlch(61.82, 47.55, 276.00°)
OKLaboklab(67.19% -0.0327 -0.134)
OKLCHoklch(67.19% 0.138 256.3)
XYZxyz(29.9858, 30.1873, 81.3215)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97E9 #E9AC5A
analogous
#5ADEE9 #5A97E9 #645AE9
triadic
#5A97E9 #E95A97 #97E95A
tetradic
#5A97E9 #E95ADE #E9AC5A #5AE964
square
#5A97E9 #E95ADE #E9AC5A #5AE964
split-complementary
#5A97E9 #E9645A #DEE95A
monochromatic
#1859B1 #2475E2 #5A97E9 #90B9F0 #C6DBF7

Accessibility & contrast

On white

2.98
#5A97E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#5A97E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A97E9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97E9#FFFFFF#000000##000000
##5A97E91.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DEC
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#00AAB5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a97e9;
/* rgb */ color: rgb(90, 151, 233);
/* oklch */ color: oklch(67.2% 0.138 256.3);
Tailwind
colors: {
  custom: {
    50: '#94b5f0',
    500: '#5a97e9',
    950: '#000000',
  },
}
SCSS
$custom: #5a97e9;
$custom-light: #94b5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97e9",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 233
  },
  "hsl": {
    "h": 214.406,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.67187,
    "c": 0.13795,
    "h": 256.3
  },
  "luminance": 0.3019
}

Semantic roles & 50–950 ramp

primary
#5A97E9
secondary
#E9D3B6
accent
#820DD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A97E9

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

Preview Lab → · Contrast checker → · Palette generator →

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