#5A9DF5#5A9DF5

#5A9DF5 is a light, vivid cyan. Relative luminance 0.329; OKLCH L 69.1% C 0.147 H 255.9°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#5A9DF5
RGBrgb(90, 157, 245)
HSLhsl(214, 89%, 66%)
HSVhsv(214, 63%, 96%)
CMYKcmyk(63.3%, 35.9%, 0%, 3.9%)
CIE-LABlab(64.06, 5.44, -50.35)
CIE-LCHlch(64.06, 50.64, 276.16°)
OKLaboklab(69.13% -0.0358 -0.1429)
OKLCHoklch(69.13% 0.147 255.9)
XYZxyz(32.7489, 32.8770, 90.9885)
Luminance0.3288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9DF5 #F5B25A
analogous
#5AEAF5 #5A9DF5 #655AF5
triadic
#5A9DF5 #F55A9D #9DF55A
tetradic
#5A9DF5 #F55AEA #F5B25A #5AF565
square
#5A9DF5 #F55AEA #F5B25A #5AF565
split-complementary
#5A9DF5 #F5655A #EAF55A
monochromatic
#0C5EC8 #207BF2 #5A9DF5 #94BFF8 #CDE2FC

Accessibility & contrast

On white

2.77
#5A9DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#5A9DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9DF5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9DF5#FFFFFF#000000##000000
##5A9DF51.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A3F9
Deuteranopia (green-blind)
#6195F3
Tritanopia (blue-blind)
#00B1BD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5a9df5;
/* rgb */ color: rgb(90, 157, 245);
/* oklch */ color: oklch(69.1% 0.147 255.9);
Tailwind
colors: {
  custom: {
    50: '#96b9f9',
    500: '#5a9df5',
    950: '#000000',
  },
}
SCSS
$custom: #5a9df5;
$custom-light: #96b9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9df5",
  "rgb": {
    "r": 90,
    "g": 157,
    "b": 245
  },
  "hsl": {
    "h": 214.065,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69131,
    "c": 0.1473,
    "h": 255.9
  },
  "luminance": 0.3288
}

Semantic roles & 50–950 ramp

primary
#5A9DF5
secondary
#EFD9BC
accent
#8200E5
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A9DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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