#5A91CC#5A91CC

#5A91CC is a light, moderate cyan. Relative luminance 0.268; OKLCH L 64.4% C 0.107 H 251.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5A91CC
RGBrgb(90, 145, 204)
HSLhsl(211, 53%, 58%)
HSVhsv(211, 56%, 80%)
CMYKcmyk(55.9%, 28.9%, 0%, 20%)
CIE-LABlab(58.77, -0.92, -35.92)
CIE-LCHlch(58.77, 35.93, 268.53°)
OKLaboklab(64.36% -0.0341 -0.101)
OKLCHoklch(64.36% 0.107 251.4)
XYZxyz(25.2371, 26.7820, 60.9545)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A91CC #CC955A
analogous
#5ACACC #5A91CC #5C5ACC
triadic
#5A91CC #CC5A91 #91CC5A
tetradic
#5A91CC #CC5ACA #CC955A #5ACC5C
square
#5A91CC #CC5ACA #CC955A #5ACC5C
split-complementary
#5A91CC #CC5C5A #CACC5A
monochromatic
#295483 #3772B2 #5A91CC #89B0DA #B7CFE9

Accessibility & contrast

On white

3.30
#5A91CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#5A91CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A91CC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A91CC#FFFFFF#000000##000000
##5A91CC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CF
Deuteranopia (green-blind)
#6A88CB
Tritanopia (blue-blind)
#009FA6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a91cc;
/* rgb */ color: rgb(90, 145, 204);
/* oklch */ color: oklch(64.4% 0.107 251.4);
Tailwind
colors: {
  custom: {
    50: '#91b1dc',
    500: '#5a91cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a91cc;
$custom-light: #91b1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a91cc",
  "rgb": {
    "r": 90,
    "g": 145,
    "b": 204
  },
  "hsl": {
    "h": 211.053,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64359,
    "c": 0.10658,
    "h": 251.4
  },
  "luminance": 0.26784
}

Semantic roles & 50–950 ramp

primary
#5A91CC
secondary
#D8C2AA
accent
#964CDC
background
#F9FAFD
surface
#F2F4FB
border
#CCCED4
text
#0D1015
muted
#7E7F83

Preview Lab

Preview with #5A91CC

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

Preview Lab → · Contrast checker → · Palette generator →

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