#5A9CE5#5A9CE5

#5A9CE5 is a light, vivid cyan. Relative luminance 0.316; OKLCH L 68.1% C 0.128 H 252.3°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#5A9CE5
RGBrgb(90, 156, 229)
HSLhsl(212, 73%, 63%)
HSVhsv(212, 61%, 90%)
CMYKcmyk(60.7%, 31.9%, 0%, 10.2%)
CIE-LABlab(63.02, 0.77, -43.19)
CIE-LCHlch(63.02, 43.20, 271.02°)
OKLaboklab(68.06% -0.0389 -0.122)
OKLCHoklch(68.06% 0.128 252.3)
XYZxyz(30.2427, 31.6049, 78.6201)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9CE5 #E5A35A
analogous
#5AE1E5 #5A9CE5 #5E5AE5
triadic
#5A9CE5 #E55A9C #9CE55A
tetradic
#5A9CE5 #E55AE1 #E5A35A #5AE55E
square
#5A9CE5 #E55AE1 #E5A35A #5AE55E
split-complementary
#5A9CE5 #E55E5A #E1E55A
monochromatic
#1B5FAA #257CDD #5A9CE5 #8FBCED #C4DBF6

Accessibility & contrast

On white

2.87
#5A9CE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#5A9CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9CE5
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9CE5#FFFFFF#000000##000000
##5A9CE51.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA0E8
Deuteranopia (green-blind)
#6A92E4
Tritanopia (blue-blind)
#00ADB6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5a9ce5;
/* rgb */ color: rgb(90, 156, 229);
/* oklch */ color: oklch(68.1% 0.128 252.3);
Tailwind
colors: {
  custom: {
    50: '#94b8ed',
    500: '#5a9ce5',
    950: '#000000',
  },
}
SCSS
$custom: #5a9ce5;
$custom-light: #94b8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9ce5",
  "rgb": {
    "r": 90,
    "g": 156,
    "b": 229
  },
  "hsl": {
    "h": 211.511,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68062,
    "c": 0.12808,
    "h": 252.3
  },
  "luminance": 0.31608
}

Semantic roles & 50–950 ramp

primary
#5A9CE5
secondary
#E7CFB4
accent
#7811D5
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A9CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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