#5A9FF5#5A9FF5

#5A9FF5 is a light, vivid cyan. Relative luminance 0.336; OKLCH L 69.6% C 0.145 H 254.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#5A9FF5
RGBrgb(90, 159, 245)
HSLhsl(213, 89%, 66%)
HSVhsv(213, 63%, 96%)
CMYKcmyk(63.3%, 35.1%, 0%, 3.9%)
CIE-LABlab(64.61, 4.28, -49.48)
CIE-LCHlch(64.61, 49.66, 274.94°)
OKLaboklab(69.56% -0.0378 -0.1403)
OKLCHoklch(69.56% 0.145 254.9)
XYZxyz(33.0901, 33.5593, 91.1022)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9FF5 #F5B05A
analogous
#5AEDF5 #5A9FF5 #625AF5
triadic
#5A9FF5 #F55A9F #9FF55A
tetradic
#5A9FF5 #F55AED #F5B05A #5AF562
square
#5A9FF5 #F55AED #F5B05A #5AF562
split-complementary
#5A9FF5 #F5625A #EDF55A
monochromatic
#0C60C8 #207DF2 #5A9FF5 #94C1F8 #CDE2FC

Accessibility & contrast

On white

2.72
#5A9FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#5A9FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9FF5
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9FF5#FFFFFF#000000##000000
##5A9FF51.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA5F9
Deuteranopia (green-blind)
#6496F3
Tritanopia (blue-blind)
#00B3BE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5a9ff5;
/* rgb */ color: rgb(90, 159, 245);
/* oklch */ color: oklch(69.6% 0.145 254.9);
Tailwind
colors: {
  custom: {
    50: '#96bbf9',
    500: '#5a9ff5',
    950: '#000000',
  },
}
SCSS
$custom: #5a9ff5;
$custom-light: #96bbf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9ff5",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 245
  },
  "hsl": {
    "h": 213.29,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69561,
    "c": 0.14531,
    "h": 254.9
  },
  "luminance": 0.33563
}

Semantic roles & 50–950 ramp

primary
#5A9FF5
secondary
#EFD8BC
accent
#7F00E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A9FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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