#5AA5F7#5AA5F7

#5AA5F7 is a light, vivid cyan. Relative luminance 0.358; OKLCH L 71.0% C 0.142 H 252.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5AA5F7
RGBrgb(90, 165, 247)
HSLhsl(211, 91%, 66%)
HSVhsv(211, 64%, 97%)
CMYKcmyk(63.6%, 33.2%, 0%, 3.1%)
CIE-LABlab(66.36, 1.49, -47.80)
CIE-LCHlch(66.36, 47.83, 271.79°)
OKLaboklab(70.96% -0.0432 -0.1354)
OKLCHoklch(70.96% 0.142 252.3)
XYZxyz(34.4539, 35.7959, 93.0712)
Luminance0.3580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA5F7 #F7AC5A
analogous
#5AF3F7 #5AA5F7 #5D5AF7
triadic
#5AA5F7 #F75AA5 #A5F75A
tetradic
#5AA5F7 #F75AF3 #F7AC5A #5AF75D
square
#5AA5F7 #F75AF3 #F7AC5A #5AF75D
split-complementary
#5AA5F7 #F75D5A #F3F75A
monochromatic
#0A67CD #2085F4 #5AA5F7 #94C5FA #CFE5FD

Accessibility & contrast

On white

2.57
#5AA5F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#5AA5F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA5F7
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA5F7#FFFFFF#000000##000000
##5AA5F71.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFA
Deuteranopia (green-blind)
#6C9BF5
Tritanopia (blue-blind)
#00B8C3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5aa5f7;
/* rgb */ color: rgb(90, 165, 247);
/* oklch */ color: oklch(71.0% 0.142 252.3);
Tailwind
colors: {
  custom: {
    50: '#96bffa',
    500: '#5aa5f7',
    950: '#000000',
  },
}
SCSS
$custom: #5aa5f7;
$custom-light: #96bffa;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa5f7",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 247
  },
  "hsl": {
    "h": 211.338,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70963,
    "c": 0.1421,
    "h": 252.3
  },
  "luminance": 0.35799
}

Semantic roles & 50–950 ramp

primary
#5AA5F7
secondary
#F0D8BD
accent
#7800E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5AA5F7

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

Preview Lab → · Contrast checker → · Palette generator →

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