#5A9DF4#5A9DF4

#5A9DF4 is a light, vivid cyan. Relative luminance 0.328; OKLCH L 69.1% C 0.146 H 255.7°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#5A9DF4
RGBrgb(90, 157, 244)
HSLhsl(214, 88%, 65%)
HSVhsv(214, 63%, 96%)
CMYKcmyk(63.1%, 35.7%, 0%, 4.3%)
CIE-LABlab(64.01, 5.11, -49.88)
CIE-LCHlch(64.01, 50.14, 275.85°)
OKLaboklab(69.08% -0.036 -0.1415)
OKLCHoklch(69.08% 0.146 255.7)
XYZxyz(32.5967, 32.8161, 90.1867)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9DF4 #F4B15A
analogous
#5AEAF4 #5A9DF4 #645AF4
triadic
#5A9DF4 #F45A9D #9DF45A
tetradic
#5A9DF4 #F45AEA #F4B15A #5AF464
square
#5A9DF4 #F45AEA #F4B15A #5AF464
split-complementary
#5A9DF4 #F4645A #EAF45A
monochromatic
#0D5EC6 #217BF0 #5A9DF4 #93BFF8 #CDE1FC

Accessibility & contrast

On white

2.78
#5A9DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#5A9DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9DF4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9DF4#FFFFFF#000000##000000
##5A9DF41.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A3F8
Deuteranopia (green-blind)
#6294F2
Tritanopia (blue-blind)
#00B1BD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5a9df4;
/* rgb */ color: rgb(90, 157, 244);
/* oklch */ color: oklch(69.1% 0.146 255.7);
Tailwind
colors: {
  custom: {
    50: '#96b9f8',
    500: '#5a9df4',
    950: '#000000',
  },
}
SCSS
$custom: #5a9df4;
$custom-light: #96b9f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9df4",
  "rgb": {
    "r": 90,
    "g": 157,
    "b": 244
  },
  "hsl": {
    "h": 213.896,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69077,
    "c": 0.14602,
    "h": 255.7
  },
  "luminance": 0.32819
}

Semantic roles & 50–950 ramp

primary
#5A9DF4
secondary
#EFD8BB
accent
#8101E4
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A9DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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