#5A9DF7#5A9DF7

#5A9DF7 is a light, vivid cyan. Relative luminance 0.330; OKLCH L 69.2% C 0.150 H 256.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5A9DF7
RGBrgb(90, 157, 247)
HSLhsl(214, 91%, 66%)
HSVhsv(214, 64%, 97%)
CMYKcmyk(63.6%, 36.4%, 0%, 3.1%)
CIE-LABlab(64.16, 6.10, -51.28)
CIE-LCHlch(64.16, 51.64, 276.78°)
OKLaboklab(69.24% -0.0353 -0.1456)
OKLCHoklch(69.24% 0.15 256.4)
XYZxyz(33.0559, 32.9998, 92.6052)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9DF7 #F7B45A
analogous
#5AEBF7 #5A9DF7 #655AF7
triadic
#5A9DF7 #F75A9D #9DF75A
tetradic
#5A9DF7 #F75AEB #F7B45A #5AF765
square
#5A9DF7 #F75AEB #F7B45A #5AF765
split-complementary
#5A9DF7 #F7655A #EBF75A
monochromatic
#0A5DCD #207AF4 #5A9DF7 #94C0FA #CFE2FD

Accessibility & contrast

On white

2.76
#5A9DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#5A9DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9DF7
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9DF7#FFFFFF#000000##000000
##5A9DF71.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FB
Deuteranopia (green-blind)
#5F95F5
Tritanopia (blue-blind)
#00B2BE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5a9df7;
/* rgb */ color: rgb(90, 157, 247);
/* oklch */ color: oklch(69.2% 0.150 256.4);
Tailwind
colors: {
  custom: {
    50: '#96b9fa',
    500: '#5a9df7',
    950: '#000000',
  },
}
SCSS
$custom: #5a9df7;
$custom-light: #96b9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9df7",
  "rgb": {
    "r": 90,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 214.395,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69242,
    "c": 0.14984,
    "h": 256.4
  },
  "luminance": 0.33003
}

Semantic roles & 50–950 ramp

primary
#5A9DF7
secondary
#F0DABD
accent
#8400E6
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A9DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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