#5AAAFF#5AAAFF

#5AAAFF is a light, vivid cyan. Relative luminance 0.381; OKLCH L 72.5% C 0.147 H 251.8°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#5AAAFF
RGBrgb(90, 170, 255)
HSLhsl(211, 100%, 68%)
HSVhsv(211, 65%, 100%)
CMYKcmyk(64.7%, 33.3%, 0%, 0%)
CIE-LABlab(68.12, 1.28, -49.38)
CIE-LCHlch(68.12, 49.40, 271.48°)
OKLaboklab(72.47% -0.0461 -0.1399)
OKLCHoklch(72.47% 0.147 251.8)
XYZxyz(36.6345, 38.1394, 100.0193)
Luminance0.3814 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAAFF #FFAF5A
analogous
#5AFDFF #5AAAFF #5C5AFF
triadic
#5AAAFF #FF5AAA #AAFF5A
tetradic
#5AAAFF #FF5AFD #FFAF5A #5AFF5C
square
#5AAAFF #FF5AFD #FFAF5A #5AFF5C
split-complementary
#5AAAFF #FF5C5A #FDFF5A
monochromatic
#006CDF #1D8AFF #5AAAFF #97CAFF #D4E9FF

Accessibility & contrast

On white

2.43
#5AAAFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#5AAAFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAAFF
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAAFF#FFFFFF#000000##000000
##5AAAFF1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AFFF
Deuteranopia (green-blind)
#6E9FFD
Tritanopia (blue-blind)
#00BEC9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #5aaaff;
/* rgb */ color: rgb(90, 170, 255);
/* oklch */ color: oklch(72.5% 0.147 251.8);
Tailwind
colors: {
  custom: {
    50: '#98c2ff',
    500: '#5aaaff',
    950: '#000000',
  },
}
SCSS
$custom: #5aaaff;
$custom-light: #98c2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaaff",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 255
  },
  "hsl": {
    "h": 210.909,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72465,
    "c": 0.1473,
    "h": 251.8
  },
  "luminance": 0.38143
}

Semantic roles & 50–950 ramp

primary
#5AAAFF
secondary
#F4DBC1
accent
#7600E6
background
#FAFBFF
surface
#F3F7FF
border
#CDD0D7
text
#0F1218
muted
#7F8186

Preview Lab

Preview with #5AAAFF

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

Preview Lab → · Contrast checker → · Palette generator →

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