#5A9EF2#5A9EF2

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

Color values

HEX#5A9EF2
RGBrgb(90, 158, 242)
HSLhsl(213, 85%, 65%)
HSVhsv(213, 63%, 95%)
CMYKcmyk(62.8%, 34.7%, 0%, 5.1%)
CIE-LABlab(64.19, 3.87, -48.50)
CIE-LCHlch(64.19, 48.65, 274.56°)
OKLaboklab(69.18% -0.0375 -0.1375)
OKLCHoklch(69.18% 0.143 254.7)
XYZxyz(32.4645, 33.0351, 88.6527)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9EF2 #F2AE5A
analogous
#5AEAF2 #5A9EF2 #625AF2
triadic
#5A9EF2 #F25A9E #9EF25A
tetradic
#5A9EF2 #F25AEA #F2AE5A #5AF262
square
#5A9EF2 #F25AEA #F2AE5A #5AF262
split-complementary
#5A9EF2 #F2625A #EAF25A
monochromatic
#0F5FC2 #217DEE #5A9EF2 #93BFF6 #CBE1FB

Accessibility & contrast

On white

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

On black

7.61
#5A9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9EF2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9EF2#FFFFFF#000000##000000
##5A9EF21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA3F5
Deuteranopia (green-blind)
#6595F0
Tritanopia (blue-blind)
#00B1BD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5a9ef2;
/* rgb */ color: rgb(90, 158, 242);
/* oklch */ color: oklch(69.2% 0.142 254.7);
Tailwind
colors: {
  custom: {
    50: '#96baf7',
    500: '#5a9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #5a9ef2;
$custom-light: #96baf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9ef2",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 213.158,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69183,
    "c": 0.1425,
    "h": 254.7
  },
  "luminance": 0.33038
}

Semantic roles & 50–950 ramp

primary
#5A9EF2
secondary
#EED7BA
accent
#7E04E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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