#5AB5EC#5AB5EC

#5AB5EC is a light, moderate cyan. Relative luminance 0.413; OKLCH L 74.0% C 0.118 H 237.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#5AB5EC
RGBrgb(90, 181, 236)
HSLhsl(203, 79%, 64%)
HSVhsv(203, 62%, 93%)
CMYKcmyk(61.9%, 23.3%, 0%, 7.5%)
CIE-LABlab(70.37, -10.93, -35.55)
CIE-LCHlch(70.37, 37.19, 252.91°)
OKLaboklab(73.96% -0.0628 -0.0997)
OKLCHoklch(73.96% 0.118 237.8)
XYZxyz(35.8749, 41.2740, 85.4167)
Luminance0.4128 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB5EC #EC915A
analogous
#5AECDA #5AB5EC #5A6CEC
triadic
#5AB5EC #EC5AB5 #B5EC5A
tetradic
#5AB5EC #DA5AEC #EC915A #6CEC5A
square
#5AB5EC #DA5AEC #EC915A #6CEC5A
split-complementary
#5AB5EC #EC5A6C #ECDA5A
monochromatic
#157AB7 #239CE6 #5AB5EC #91CEF2 #C8E6F9

Accessibility & contrast

On white

2.27
#5AB5EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#5AB5EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB5EC
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB5EC#FFFFFF#000000##000000
##5AB5EC1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BB4EF
Deuteranopia (green-blind)
#87A6EB
Tritanopia (blue-blind)
#00C3C8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #5ab5ec;
/* rgb */ color: rgb(90, 181, 236);
/* oklch */ color: oklch(74.0% 0.118 237.8);
Tailwind
colors: {
  custom: {
    50: '#95cbf2',
    500: '#5ab5ec',
    950: '#000000',
  },
}
SCSS
$custom: #5ab5ec;
$custom-light: #95cbf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab5ec",
  "rgb": {
    "r": 90,
    "g": 181,
    "b": 236
  },
  "hsl": {
    "h": 202.603,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.73961,
    "c": 0.11782,
    "h": 237.8
  },
  "luminance": 0.41278
}

Semantic roles & 50–950 ramp

primary
#5AB5EC
secondary
#EBCBB7
accent
#590ADC
background
#F9FCFE
surface
#F2F8FD
border
#CCD1D5
text
#0E1317
muted
#7E8285

Preview Lab

Preview with #5AB5EC

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

Preview Lab → · Contrast checker → · Palette generator →

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