#5B82BB#5B82BB

#5B82BB is a mid, moderate blue. Relative luminance 0.218; OKLCH L 60.2% C 0.098 H 257.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5B82BB
RGBrgb(91, 130, 187)
HSLhsl(216, 41%, 55%)
HSVhsv(216, 51%, 73%)
CMYKcmyk(51.3%, 30.5%, 0%, 26.7%)
CIE-LABlab(53.79, 2.72, -34.06)
CIE-LCHlch(53.79, 34.17, 274.56°)
OKLaboklab(60.22% -0.0207 -0.0957)
OKLCHoklch(60.22% 0.098 257.8)
XYZxyz(21.2636, 21.7757, 50.0867)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82BB #BB945B
analogous
#5BB2BB #5B82BB #645BBB
triadic
#5B82BB #BB5B82 #82BB5B
tetradic
#5B82BB #BB5BB2 #BB945B #5BBB64
square
#5B82BB #BB5BB2 #BB945B #5BBB64
split-complementary
#5B82BB #BB645B #B2BB5B
monochromatic
#2E486E #406499 #5B82BB #86A3CD #B2C4DF

Accessibility & contrast

On white

3.92
#5B82BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5B82BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82BB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82BB#FFFFFF#000000##000000
##5B82BB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C86BD
Deuteranopia (green-blind)
#607CBA
Tritanopia (blue-blind)
#2C8F96
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b82bb;
/* rgb */ color: rgb(91, 130, 187);
/* oklch */ color: oklch(60.2% 0.098 257.8);
Tailwind
colors: {
  custom: {
    50: '#8fa6cf',
    500: '#5b82bb',
    950: '#000000',
  },
}
SCSS
$custom: #5b82bb;
$custom-light: #8fa6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82bb",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 187
  },
  "hsl": {
    "h": 215.625,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.09791,
    "h": 257.8
  },
  "luminance": 0.21777
}

Semantic roles & 50–950 ramp

primary
#5B82BB
secondary
#CDBDA5
accent
#9F57D1
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5B82BB

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

Preview Lab → · Contrast checker → · Palette generator →

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