#5B82AB#5B82AB

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

Color values

HEX#5B82AB
RGBrgb(91, 130, 171)
HSLhsl(211, 32%, 51%)
HSVhsv(211, 47%, 67%)
CMYKcmyk(46.8%, 24%, 0%, 32.9%)
CIE-LABlab(53.09, -2.17, -25.96)
CIE-LCHlch(53.09, 26.05, 265.21°)
OKLaboklab(59.44% -0.0257 -0.0723)
OKLCHoklch(59.44% 0.077 250.4)
XYZxyz(19.6452, 21.1284, 41.5632)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82AB #AB845B
analogous
#5BAAAB #5B82AB #5C5BAB
triadic
#5B82AB #AB5B82 #82AB5B
tetradic
#5B82AB #AB5BAA #AB845B #5BAB5C
square
#5B82AB #AB5BAA #AB845B #5BAB5C
split-complementary
#5B82AB #AB5C5B #AAAB5B
monochromatic
#2F455C #446485 #5B82AB #83A1C0 #ACC0D4

Accessibility & contrast

On white

4.02
#5B82AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#5B82AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82AB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82AB#FFFFFF#000000##000000
##5B82AB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b82ab;
/* rgb */ color: rgb(91, 130, 171);
/* oklch */ color: oklch(59.4% 0.077 250.4);
Tailwind
colors: {
  custom: {
    50: '#8da6c4',
    500: '#5b82ab',
    950: '#000000',
  },
}
SCSS
$custom: #5b82ab;
$custom-light: #8da6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82ab",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 171
  },
  "hsl": {
    "h": 210.75,
    "s": 32.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.07679,
    "h": 250.4
  },
  "luminance": 0.2113
}

Semantic roles & 50–950 ramp

primary
#5B82AB
secondary
#C3B19F
accent
#955FC8
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #5B82AB

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

Preview Lab → · Contrast checker → · Palette generator →

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