#5A82AB#5A82AB

#5A82AB is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.4% C 0.077 H 249.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5A82AB
RGBrgb(90, 130, 171)
HSLhsl(210, 33%, 51%)
HSVhsv(210, 47%, 67%)
CMYKcmyk(47.4%, 24%, 0%, 32.9%)
CIE-LABlab(53.03, -2.43, -26.05)
CIE-LCHlch(53.03, 26.16, 264.67°)
OKLaboklab(59.38% -0.0267 -0.0726)
OKLCHoklch(59.38% 0.077 249.8)
XYZxyz(19.5473, 21.0779, 41.5586)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A82AB #AB835A
analogous
#5AAAAB #5A82AB #5A5AAB
triadic
#5A82AB #AB5A82 #82AB5A
tetradic
#5A82AB #AB5AAA #AB835A #5AAB5A
square
#5A82AB #AB5AAA #AB835A #5AAB5A
split-complementary
#5A82AB #AB5A5A #AAAB5A
monochromatic
#2F455C #436384 #5A82AB #83A1C0 #ABBFD4

Accessibility & contrast

On white

4.03
#5A82AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5A82AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A82AB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A82AB#FFFFFF#000000##000000
##5A82AB1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7283AD
Deuteranopia (green-blind)
#677BAA
Tritanopia (blue-blind)
#378B90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a82ab;
/* rgb */ color: rgb(90, 130, 171);
/* oklch */ color: oklch(59.4% 0.077 249.8);
Tailwind
colors: {
  custom: {
    50: '#8da6c4',
    500: '#5a82ab',
    950: '#000000',
  },
}
SCSS
$custom: #5a82ab;
$custom-light: #8da6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a82ab",
  "rgb": {
    "r": 90,
    "g": 130,
    "b": 171
  },
  "hsl": {
    "h": 210.37,
    "s": 32.53,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5938,
    "c": 0.07736,
    "h": 249.8
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#5A82AB
secondary
#C2B19F
accent
#955FC9
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #5A82AB

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

Preview Lab → · Contrast checker → · Palette generator →

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