#5AB5EF#5AB5EF

#5AB5EF is a light, vivid cyan. Relative luminance 0.415; OKLCH L 74.1% C 0.121 H 239.3°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#5AB5EF
RGBrgb(90, 181, 239)
HSLhsl(203, 82%, 65%)
HSVhsv(203, 62%, 94%)
CMYKcmyk(62.3%, 24.3%, 0%, 6.3%)
CIE-LABlab(70.49, -9.99, -36.99)
CIE-LCHlch(70.49, 38.31, 254.89°)
OKLaboklab(74.1% -0.0618 -0.1039)
OKLCHoklch(74.1% 0.121 239.3)
XYZxyz(36.3144, 41.4498, 87.7314)
Luminance0.4145 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB5EF #EF945A
analogous
#5AEFDF #5AB5EF #5A6BEF
triadic
#5AB5EF #EF5AB5 #B5EF5A
tetradic
#5AB5EF #DF5AEF #EF945A #6BEF5A
square
#5AB5EF #DF5AEF #EF945A #6BEF5A
split-complementary
#5AB5EF #EF5A6B #EFDF5A
monochromatic
#127ABC #229CEA #5AB5EF #92CEF4 #CAE7FA

Accessibility & contrast

On white

2.26
#5AB5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#5AB5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB5EF
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB5EF#FFFFFF#000000##000000
##5AB5EF1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB5F2
Deuteranopia (green-blind)
#86A6EE
Tritanopia (blue-blind)
#00C4C9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #5ab5ef;
/* rgb */ color: rgb(90, 181, 239);
/* oklch */ color: oklch(74.1% 0.121 239.3);
Tailwind
colors: {
  custom: {
    50: '#96cbf4',
    500: '#5ab5ef',
    950: '#000000',
  },
}
SCSS
$custom: #5ab5ef;
$custom-light: #96cbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab5ef",
  "rgb": {
    "r": 90,
    "g": 181,
    "b": 239
  },
  "hsl": {
    "h": 203.356,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.74099,
    "c": 0.12085,
    "h": 239.3
  },
  "luminance": 0.41453
}

Semantic roles & 50–950 ramp

primary
#5AB5EF
secondary
#ECCDB9
accent
#5B07DF
background
#F9FCFE
surface
#F2F8FD
border
#CCD1D5
text
#0E1317
muted
#7E8285

Preview Lab

Preview with #5AB5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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