#5AB7EC#5AB7EC

#5AB7EC is a light, moderate cyan. Relative luminance 0.421; OKLCH L 74.4% C 0.117 H 236.3°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#5AB7EC
RGBrgb(90, 183, 236)
HSLhsl(202, 79%, 64%)
HSVhsv(202, 62%, 93%)
CMYKcmyk(61.9%, 22.5%, 0%, 7.5%)
CIE-LABlab(70.94, -12.01, -34.67)
CIE-LCHlch(70.94, 36.69, 250.90°)
OKLaboklab(74.41% -0.0648 -0.0972)
OKLCHoklch(74.41% 0.117 236.3)
XYZxyz(36.2845, 42.0931, 85.5532)
Luminance0.4210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB7EC #EC8F5A
analogous
#5AECD8 #5AB7EC #5A6EEC
triadic
#5AB7EC #EC5AB7 #B7EC5A
tetradic
#5AB7EC #D85AEC #EC8F5A #6EEC5A
square
#5AB7EC #D85AEC #EC8F5A #6EEC5A
split-complementary
#5AB7EC #EC5A6E #ECD85A
monochromatic
#157CB7 #239FE6 #5AB7EC #91CFF2 #C8E7F9

Accessibility & contrast

On white

2.23
#5AB7EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#5AB7EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB7EC
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB7EC#FFFFFF#000000##000000
##5AB7EC1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB6EF
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#00C5C9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #5ab7ec;
/* rgb */ color: rgb(90, 183, 236);
/* oklch */ color: oklch(74.4% 0.117 236.3);
Tailwind
colors: {
  custom: {
    50: '#95ccf2',
    500: '#5ab7ec',
    950: '#000000',
  },
}
SCSS
$custom: #5ab7ec;
$custom-light: #95ccf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab7ec",
  "rgb": {
    "r": 90,
    "g": 183,
    "b": 236
  },
  "hsl": {
    "h": 201.781,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.74412,
    "c": 0.11681,
    "h": 236.3
  },
  "luminance": 0.42097
}

Semantic roles & 50–950 ramp

primary
#5AB7EC
secondary
#EBCAB7
accent
#560ADC
background
#F9FCFE
surface
#F2F8FD
border
#CCD1D5
text
#0E1317
muted
#7E8285

Preview Lab

Preview with #5AB7EC

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

Preview Lab → · Contrast checker → · Palette generator →

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