#5AB1EF#5AB1EF

#5AB1EF is a light, vivid cyan. Relative luminance 0.399; OKLCH L 73.2% C 0.123 H 242.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#5AB1EF
RGBrgb(90, 177, 239)
HSLhsl(205, 82%, 65%)
HSVhsv(205, 62%, 94%)
CMYKcmyk(62.3%, 25.9%, 0%, 6.3%)
CIE-LABlab(69.36, -7.81, -38.74)
CIE-LCHlch(69.36, 39.52, 258.61°)
OKLaboklab(73.2% -0.0577 -0.109)
OKLCHoklch(73.2% 0.123 242.1)
XYZxyz(35.5127, 39.8464, 87.4642)
Luminance0.3985 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB1EF #EF985A
analogous
#5AEFE2 #5AB1EF #5A67EF
triadic
#5AB1EF #EF5AB1 #B1EF5A
tetradic
#5AB1EF #E25AEF #EF985A #67EF5A
square
#5AB1EF #E25AEF #EF985A #67EF5A
split-complementary
#5AB1EF #EF5A67 #EFE25A
monochromatic
#1276BC #2297EA #5AB1EF #92CBF4 #CAE6FA

Accessibility & contrast

On white

2.34
#5AB1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#5AB1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB1EF
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB1EF#FFFFFF#000000##000000
##5AB1EF1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B2F2
Deuteranopia (green-blind)
#81A3EE
Tritanopia (blue-blind)
#00C0C6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #5ab1ef;
/* rgb */ color: rgb(90, 177, 239);
/* oklch */ color: oklch(73.2% 0.123 242.1);
Tailwind
colors: {
  custom: {
    50: '#96c8f4',
    500: '#5ab1ef',
    950: '#000000',
  },
}
SCSS
$custom: #5ab1ef;
$custom-light: #96c8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab1ef",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 239
  },
  "hsl": {
    "h": 204.966,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.73204,
    "c": 0.12329,
    "h": 242.1
  },
  "luminance": 0.3985
}

Semantic roles & 50–950 ramp

primary
#5AB1EF
secondary
#ECCEB9
accent
#6107DF
background
#F9FCFE
surface
#F2F8FD
border
#CCD1D5
text
#0E1317
muted
#7E8285

Preview Lab

Preview with #5AB1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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