#5A97E8#5A97E8

#5A97E8 is a light, vivid cyan. Relative luminance 0.301; OKLCH L 67.1% C 0.137 H 256.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5A97E8
RGBrgb(90, 151, 232)
HSLhsl(214, 76%, 63%)
HSVhsv(214, 61%, 91%)
CMYKcmyk(61.2%, 34.9%, 0%, 9%)
CIE-LABlab(61.77, 4.64, -46.82)
CIE-LCHlch(61.77, 47.05, 275.66°)
OKLaboklab(67.13% -0.0329 -0.1326)
OKLCHoklch(67.13% 0.137 256.1)
XYZxyz(29.8433, 30.1303, 80.5713)
Luminance0.3013 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97E8 #E8AB5A
analogous
#5ADEE8 #5A97E8 #645AE8
triadic
#5A97E8 #E85A97 #97E85A
tetradic
#5A97E8 #E85ADE #E8AB5A #5AE864
square
#5A97E8 #E85ADE #E8AB5A #5AE864
split-complementary
#5A97E8 #E8645A #DEE85A
monochromatic
#1859AF #2475E1 #5A97E8 #90B9EF #C5DBF7

Accessibility & contrast

On white

2.99
#5A97E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#5A97E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A97E8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97E8#FFFFFF#000000##000000
##5A97E81.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#749DEB
Deuteranopia (green-blind)
#618FE6
Tritanopia (blue-blind)
#00A9B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5a97e8;
/* rgb */ color: rgb(90, 151, 232);
/* oklch */ color: oklch(67.1% 0.137 256.1);
Tailwind
colors: {
  custom: {
    50: '#94b5ef',
    500: '#5a97e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a97e8;
$custom-light: #94b5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97e8",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 232
  },
  "hsl": {
    "h": 214.225,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.67132,
    "c": 0.13666,
    "h": 256.1
  },
  "luminance": 0.30133
}

Semantic roles & 50–950 ramp

primary
#5A97E8
secondary
#E8D2B5
accent
#810ED8
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A97E8

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

Preview Lab → · Contrast checker → · Palette generator →

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