#5AA5FF#5AA5FF

#5AA5FF is a light, vivid cyan. Relative luminance 0.363; OKLCH L 71.4% C 0.152 H 254.3°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#5AA5FF
RGBrgb(90, 165, 255)
HSLhsl(213, 100%, 68%)
HSVhsv(213, 65%, 100%)
CMYKcmyk(64.7%, 35.3%, 0%, 0%)
CIE-LABlab(66.75, 4.13, -51.55)
CIE-LCHlch(66.75, 51.71, 274.58°)
OKLaboklab(71.39% -0.0412 -0.1463)
OKLCHoklch(71.39% 0.152 254.3)
XYZxyz(35.7150, 36.3004, 99.7128)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA5FF #FFB45A
analogous
#5AF8FF #5AA5FF #615AFF
triadic
#5AA5FF #FF5AA5 #A5FF5A
tetradic
#5AA5FF #FF5AF8 #FFB45A #5AFF61
square
#5AA5FF #FF5AF8 #FFB45A #5AFF61
split-complementary
#5AA5FF #FF615A #F8FF5A
monochromatic
#0065DF #1D84FF #5AA5FF #97C6FF #D4E8FF

Accessibility & contrast

On white

2.54
#5AA5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#5AA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA5FF
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA5FF#FFFFFF#000000##000000
##5AA5FF1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DABFF
Deuteranopia (green-blind)
#669BFD
Tritanopia (blue-blind)
#00BAC6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #5aa5ff;
/* rgb */ color: rgb(90, 165, 255);
/* oklch */ color: oklch(71.4% 0.152 254.3);
Tailwind
colors: {
  custom: {
    50: '#98bfff',
    500: '#5aa5ff',
    950: '#000000',
  },
}
SCSS
$custom: #5aa5ff;
$custom-light: #98bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa5ff",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 212.727,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.7139,
    "c": 0.152,
    "h": 254.3
  },
  "luminance": 0.36304
}

Semantic roles & 50–950 ramp

primary
#5AA5FF
secondary
#F4DDC1
accent
#7D00E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1218
muted
#7F8186

Preview Lab

Preview with #5AA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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