#5A9CF2#5A9CF2

#5A9CF2 is a light, vivid cyan. Relative luminance 0.324; OKLCH L 68.8% C 0.144 H 255.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#5A9CF2
RGBrgb(90, 156, 242)
HSLhsl(214, 85%, 65%)
HSVhsv(214, 63%, 95%)
CMYKcmyk(62.8%, 35.5%, 0%, 5.1%)
CIE-LABlab(63.64, 5.03, -49.37)
CIE-LCHlch(63.64, 49.62, 275.81°)
OKLaboklab(68.75% -0.0355 -0.14)
OKLCHoklch(68.75% 0.144 255.8)
XYZxyz(32.1262, 32.3583, 88.5399)
Luminance0.3236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9CF2 #F2B05A
analogous
#5AE8F2 #5A9CF2 #645AF2
triadic
#5A9CF2 #F25A9C #9CF25A
tetradic
#5A9CF2 #F25AE8 #F2B05A #5AF264
square
#5A9CF2 #F25AE8 #F2B05A #5AF264
split-complementary
#5A9CF2 #F2645A #E8F25A
monochromatic
#0F5DC2 #217AEE #5A9CF2 #93BEF6 #CBE0FB

Accessibility & contrast

On white

2.81
#5A9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#5A9CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9CF2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9CF2#FFFFFF#000000##000000
##5A9CF21.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#6294F0
Tritanopia (blue-blind)
#00B0BC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5a9cf2;
/* rgb */ color: rgb(90, 156, 242);
/* oklch */ color: oklch(68.8% 0.144 255.8);
Tailwind
colors: {
  custom: {
    50: '#96b8f7',
    500: '#5a9cf2',
    950: '#000000',
  },
}
SCSS
$custom: #5a9cf2;
$custom-light: #96b8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9cf2",
  "rgb": {
    "r": 90,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 213.947,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68753,
    "c": 0.14448,
    "h": 255.8
  },
  "luminance": 0.32361
}

Semantic roles & 50–950 ramp

primary
#5A9CF2
secondary
#EED7BA
accent
#8104E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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