#5AB1EC#5AB1EC

#5AB1EC is a light, vivid cyan. Relative luminance 0.397; OKLCH L 73.1% C 0.120 H 240.8°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#5AB1EC
RGBrgb(90, 177, 236)
HSLhsl(204, 79%, 64%)
HSVhsv(204, 62%, 93%)
CMYKcmyk(61.9%, 25%, 0%, 7.5%)
CIE-LABlab(69.23, -8.76, -37.31)
CIE-LCHlch(69.23, 38.32, 256.79°)
OKLaboklab(73.06% -0.0586 -0.1048)
OKLCHoklch(73.06% 0.12 240.8)
XYZxyz(35.0732, 39.6706, 85.1494)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB1EC #EC955A
analogous
#5AECDE #5AB1EC #5A68EC
triadic
#5AB1EC #EC5AB1 #B1EC5A
tetradic
#5AB1EC #DE5AEC #EC955A #68EC5A
square
#5AB1EC #DE5AEC #EC955A #68EC5A
split-complementary
#5AB1EC #EC5A68 #ECDE5A
monochromatic
#1575B7 #2397E6 #5AB1EC #91CBF2 #C8E5F9

Accessibility & contrast

On white

2.35
#5AB1EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#5AB1EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB1EC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB1EC#FFFFFF#000000##000000
##5AB1EC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B1EF
Deuteranopia (green-blind)
#82A3EB
Tritanopia (blue-blind)
#00C0C5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #5ab1ec;
/* rgb */ color: rgb(90, 177, 236);
/* oklch */ color: oklch(73.1% 0.120 240.8);
Tailwind
colors: {
  custom: {
    50: '#95c8f2',
    500: '#5ab1ec',
    950: '#000000',
  },
}
SCSS
$custom: #5ab1ec;
$custom-light: #95c8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab1ec",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 236
  },
  "hsl": {
    "h": 204.247,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.73063,
    "c": 0.1201,
    "h": 240.8
  },
  "luminance": 0.39674
}

Semantic roles & 50–950 ramp

primary
#5AB1EC
secondary
#EBCCB7
accent
#5F0ADC
background
#F9FCFE
surface
#F2F8FD
border
#CCD1D5
text
#0E1317
muted
#7E8285

Preview Lab

Preview with #5AB1EC

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

Preview Lab → · Contrast checker → · Palette generator →

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