#5AA7FF#5AA7FF

#5AA7FF is a light, vivid cyan. Relative luminance 0.370; OKLCH L 71.8% C 0.150 H 253.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#5AA7FF
RGBrgb(90, 167, 255)
HSLhsl(212, 100%, 68%)
HSVhsv(212, 65%, 100%)
CMYKcmyk(64.7%, 34.5%, 0%, 0%)
CIE-LABlab(67.30, 2.98, -50.68)
CIE-LCHlch(67.30, 50.77, 273.37°)
OKLaboklab(71.82% -0.0432 -0.1437)
OKLCHoklch(71.82% 0.15 253.3)
XYZxyz(36.0786, 37.0275, 99.8340)
Luminance0.3703 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA7FF #FFB25A
analogous
#5AF9FF #5AA7FF #5F5AFF
triadic
#5AA7FF #FF5AA7 #A7FF5A
tetradic
#5AA7FF #FF5AF9 #FFB25A #5AFF5F
square
#5AA7FF #FF5AF9 #FFB25A #5AFF5F
split-complementary
#5AA7FF #FF5F5A #F9FF5A
monochromatic
#0068DF #1D86FF #5AA7FF #97C8FF #D4E8FF

Accessibility & contrast

On white

2.50
#5AA7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#5AA7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA7FF
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA7FF#FFFFFF#000000##000000
##5AA7FF1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#699DFD
Tritanopia (blue-blind)
#00BBC7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #5aa7ff;
/* rgb */ color: rgb(90, 167, 255);
/* oklch */ color: oklch(71.8% 0.150 253.3);
Tailwind
colors: {
  custom: {
    50: '#98c0ff',
    500: '#5aa7ff',
    950: '#000000',
  },
}
SCSS
$custom: #5aa7ff;
$custom-light: #98c0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa7ff",
  "rgb": {
    "r": 90,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 212,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71819,
    "c": 0.15009,
    "h": 253.3
  },
  "luminance": 0.37031
}

Semantic roles & 50–950 ramp

primary
#5AA7FF
secondary
#F4DCC1
accent
#7A00E6
background
#FAFBFF
surface
#F3F7FF
border
#CDD0D7
text
#0F1218
muted
#7F8186

Preview Lab

Preview with #5AA7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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