#5A97EC#5A97EC

#5A97EC is a light, vivid cyan. Relative luminance 0.304; OKLCH L 67.4% C 0.142 H 257.0°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5A97EC
RGBrgb(90, 151, 236)
HSLhsl(215, 79%, 64%)
HSVhsv(215, 62%, 93%)
CMYKcmyk(61.9%, 36%, 0%, 7.5%)
CIE-LABlab(61.96, 5.96, -48.72)
CIE-LCHlch(61.96, 49.08, 276.97°)
OKLaboklab(67.35% -0.0319 -0.1382)
OKLCHoklch(67.35% 0.142 257)
XYZxyz(30.4180, 30.3602, 83.5977)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97EC #ECAF5A
analogous
#5AE0EC #5A97EC #665AEC
triadic
#5A97EC #EC5A97 #97EC5A
tetradic
#5A97EC #EC5AE0 #ECAF5A #5AEC66
square
#5A97EC #EC5AE0 #ECAF5A #5AEC66
split-complementary
#5A97EC #EC665A #E0EC5A
monochromatic
#1559B7 #2374E6 #5A97EC #91BAF2 #C8DCF9

Accessibility & contrast

On white

2.97
#5A97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#5A97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A97EC
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97EC#FFFFFF#000000##000000
##5A97EC1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DEF
Deuteranopia (green-blind)
#5E8FEA
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a97ec;
/* rgb */ color: rgb(90, 151, 236);
/* oklch */ color: oklch(67.4% 0.142 257.0);
Tailwind
colors: {
  custom: {
    50: '#95b5f2',
    500: '#5a97ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a97ec;
$custom-light: #95b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97ec",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 214.932,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67351,
    "c": 0.14182,
    "h": 257
  },
  "luminance": 0.30363
}

Semantic roles & 50–950 ramp

primary
#5A97EC
secondary
#EBD5B7
accent
#840ADC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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