#5A9EC2#5A9EC2

#5A9EC2 is a light, moderate cyan. Relative luminance 0.305; OKLCH L 66.9% C 0.087 H 233.3°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#5A9EC2
RGBrgb(90, 158, 194)
HSLhsl(201, 46%, 56%)
HSVhsv(201, 54%, 76%)
CMYKcmyk(53.6%, 18.6%, 0%, 23.9%)
CIE-LABlab(62.10, -11.33, -25.14)
CIE-LCHlch(62.10, 27.58, 245.75°)
OKLaboklab(66.85% -0.0522 -0.07)
OKLCHoklch(66.85% 0.087 233.3)
XYZxyz(26.1773, 30.5202, 55.5400)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9EC2 #C27E5A
analogous
#5AC2B2 #5A9EC2 #5A6AC2
triadic
#5A9EC2 #C25A9E #9EC25A
tetradic
#5A9EC2 #B25AC2 #C27E5A #6AC25A
square
#5A9EC2 #B25AC2 #C27E5A #6AC25A
split-complementary
#5A9EC2 #C25A6A #C2B25A
monochromatic
#2C5C76 #3C7FA3 #5A9EC2 #87B8D3 #B3D3E3

Accessibility & contrast

On white

2.96
#5A9EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#5A9EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9EC2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9EC2#FFFFFF#000000##000000
##5A9EC21.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9CC4
Deuteranopia (green-blind)
#7E91C1
Tritanopia (blue-blind)
#11A8AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5a9ec2;
/* rgb */ color: rgb(90, 158, 194);
/* oklch */ color: oklch(66.9% 0.087 233.3);
Tailwind
colors: {
  custom: {
    50: '#90bad4',
    500: '#5a9ec2',
    950: '#000000',
  },
}
SCSS
$custom: #5a9ec2;
$custom-light: #90bad4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9ec2",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 194
  },
  "hsl": {
    "h": 200.769,
    "s": 46.018,
    "l": 55.686
  },
  "oklch": {
    "l": 0.66851,
    "c": 0.08734,
    "h": 233.3
  },
  "luminance": 0.30522
}

Semantic roles & 50–950 ramp

primary
#5A9EC2
secondary
#D2B5A6
accent
#8052D6
background
#F9FBFD
surface
#F1F6FA
border
#CBD0D3
text
#0D1114
muted
#7E8083

Preview Lab

Preview with #5A9EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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