#5A9DF0#5A9DF0

#5A9DF0 is a light, vivid cyan. Relative luminance 0.326; OKLCH L 68.9% C 0.141 H 254.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#5A9DF0
RGBrgb(90, 157, 240)
HSLhsl(213, 83%, 65%)
HSVhsv(213, 63%, 94%)
CMYKcmyk(62.5%, 34.6%, 0%, 5.9%)
CIE-LABlab(63.82, 3.79, -47.99)
CIE-LCHlch(63.82, 48.14, 274.51°)
OKLaboklab(68.86% -0.037 -0.136)
OKLCHoklch(68.86% 0.141 254.8)
XYZxyz(31.9959, 32.5758, 87.0228)
Luminance0.3258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9DF0 #F0AD5A
analogous
#5AE8F0 #5A9DF0 #625AF0
triadic
#5A9DF0 #F05A9D #9DF05A
tetradic
#5A9DF0 #F05AE8 #F0AD5A #5AF062
square
#5A9DF0 #F05AE8 #F0AD5A #5AF062
split-complementary
#5A9DF0 #F0625A #E8F05A
monochromatic
#115FBE #227CEB #5A9DF0 #92BEF5 #CAE0FA

Accessibility & contrast

On white

2.79
#5A9DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#5A9DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9DF0
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9DF0#FFFFFF#000000##000000
##5A9DF01.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F3
Deuteranopia (green-blind)
#6594EE
Tritanopia (blue-blind)
#00B0BB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5a9df0;
/* rgb */ color: rgb(90, 157, 240);
/* oklch */ color: oklch(68.9% 0.141 254.8);
Tailwind
colors: {
  custom: {
    50: '#95b9f5',
    500: '#5a9df0',
    950: '#000000',
  },
}
SCSS
$custom: #5a9df0;
$custom-light: #95b9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9df0",
  "rgb": {
    "r": 90,
    "g": 157,
    "b": 240
  },
  "hsl": {
    "h": 213.2,
    "s": 83.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6886,
    "c": 0.14095,
    "h": 254.8
  },
  "luminance": 0.32579
}

Semantic roles & 50–950 ramp

primary
#5A9DF0
secondary
#EDD6B9
accent
#7E06E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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