#5A9FF2#5A9FF2

#5A9FF2 is a light, vivid cyan. Relative luminance 0.334; OKLCH L 69.4% C 0.142 H 254.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#5A9FF2
RGBrgb(90, 159, 242)
HSLhsl(213, 85%, 65%)
HSVhsv(213, 63%, 95%)
CMYKcmyk(62.8%, 34.3%, 0%, 5.1%)
CIE-LABlab(64.47, 3.29, -48.06)
CIE-LCHlch(64.47, 48.17, 273.92°)
OKLaboklab(69.4% -0.0385 -0.1362)
OKLCHoklch(69.4% 0.142 254.2)
XYZxyz(32.6358, 33.3776, 88.7098)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9FF2 #F2AD5A
analogous
#5AEBF2 #5A9FF2 #615AF2
triadic
#5A9FF2 #F25A9F #9FF25A
tetradic
#5A9FF2 #F25AEB #F2AD5A #5AF261
square
#5A9FF2 #F25AEB #F2AD5A #5AF261
split-complementary
#5A9FF2 #F2615A #EBF25A
monochromatic
#0F61C2 #217EEE #5A9FF2 #93C0F6 #CBE1FB

Accessibility & contrast

On white

2.74
#5A9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#5A9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9FF2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9FF2#FFFFFF#000000##000000
##5A9FF21.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F5
Deuteranopia (green-blind)
#6696F0
Tritanopia (blue-blind)
#00B2BD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5a9ff2;
/* rgb */ color: rgb(90, 159, 242);
/* oklch */ color: oklch(69.4% 0.142 254.2);
Tailwind
colors: {
  custom: {
    50: '#96bbf7',
    500: '#5a9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #5a9ff2;
$custom-light: #96bbf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9ff2",
  "rgb": {
    "r": 90,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 212.763,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69399,
    "c": 0.14154,
    "h": 254.2
  },
  "luminance": 0.33381
}

Semantic roles & 50–950 ramp

primary
#5A9FF2
secondary
#EED6BA
accent
#7D04E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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