#5A799B#5A799B

#5A799B is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.6% C 0.064 H 251.3°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5A799B
RGBrgb(90, 121, 155)
HSLhsl(211, 27%, 48%)
HSVhsv(211, 42%, 61%)
CMYKcmyk(41.9%, 21.9%, 0%, 39.2%)
CIE-LABlab(49.75, -1.89, -21.82)
CIE-LCHlch(49.75, 21.90, 265.06°)
OKLaboklab(56.58% -0.0205 -0.0605)
OKLCHoklch(56.58% 0.064 251.3)
XYZxyz(16.9683, 18.2140, 33.6255)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A799B #9B7C5A
analogous
#5A999B #5A799B #5B5A9B
triadic
#5A799B #9B5A79 #799B5A
tetradic
#5A799B #9B5A99 #9B7C5A #5A9B5B
square
#5A799B #9B5A99 #9B7C5A #5A9B5B
split-complementary
#5A799B #9B5B5A #999B5A
monochromatic
#2D3D4E #445B74 #5A799B #7E98B4 #A5B7CB

Accessibility & contrast

On white

4.52
#5A799B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5A799B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A799B
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A799B#FFFFFF#000000##000000
##5A799B1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7A9D
Deuteranopia (green-blind)
#64739A
Tritanopia (blue-blind)
#428184
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a799b;
/* rgb */ color: rgb(90, 121, 155);
/* oklch */ color: oklch(56.6% 0.064 251.3);
Tailwind
colors: {
  custom: {
    50: '#8b9fb8',
    500: '#5a799b',
    950: '#000000',
  },
}
SCSS
$custom: #5a799b;
$custom-light: #8b9fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a799b",
  "rgb": {
    "r": 90,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 211.385,
    "s": 26.531,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56584,
    "c": 0.06392,
    "h": 251.3
  },
  "luminance": 0.18215
}

Semantic roles & 50–950 ramp

primary
#5A799B
secondary
#B8A998
accent
#9665C3
background
#F8F9FB
surface
#F0F2F6
border
#CBCCD0
text
#0C0E11
muted
#7D7E80

Preview Lab

Preview with #5A799B

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

Preview Lab → · Contrast checker → · Palette generator →

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