#5A97EB#5A97EB

#5A97EB is a light, vivid cyan. Relative luminance 0.303; OKLCH L 67.3% C 0.141 H 256.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5A97EB
RGBrgb(90, 151, 235)
HSLhsl(215, 78%, 64%)
HSVhsv(215, 62%, 92%)
CMYKcmyk(61.7%, 35.7%, 0%, 7.8%)
CIE-LABlab(61.91, 5.63, -48.24)
CIE-LCHlch(61.91, 48.57, 276.65°)
OKLaboklab(67.3% -0.0322 -0.1368)
OKLCHoklch(67.3% 0.141 256.8)
XYZxyz(30.2731, 30.3022, 82.8347)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97EB #EBAE5A
analogous
#5ADFEB #5A97EB #655AEB
triadic
#5A97EB #EB5A97 #97EB5A
tetradic
#5A97EB #EB5ADF #EBAE5A #5AEB65
square
#5A97EB #EB5ADF #EBAE5A #5AEB65
split-complementary
#5A97EB #EB655A #DFEB5A
monochromatic
#1659B5 #2375E4 #5A97EB #91B9F2 #C7DCF8

Accessibility & contrast

On white

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

On black

7.06
#5A97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A97EB
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97EB#FFFFFF#000000##000000
##5A97EB1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#00AAB6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a97eb;
/* rgb */ color: rgb(90, 151, 235);
/* oklch */ color: oklch(67.3% 0.141 256.8);
Tailwind
colors: {
  custom: {
    50: '#95b5f2',
    500: '#5a97eb',
    950: '#000000',
  },
}
SCSS
$custom: #5a97eb;
$custom-light: #95b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97eb",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 214.759,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67296,
    "c": 0.14053,
    "h": 256.8
  },
  "luminance": 0.30305
}

Semantic roles & 50–950 ramp

primary
#5A97EB
secondary
#EAD4B7
accent
#830BDB
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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