#5B82BF#5B82BF

#5B82BF is a mid, moderate blue. Relative luminance 0.220; OKLCH L 60.4% C 0.103 H 259.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5B82BF
RGBrgb(91, 130, 191)
HSLhsl(217, 44%, 55%)
HSVhsv(217, 52%, 75%)
CMYKcmyk(52.4%, 31.9%, 0%, 25.1%)
CIE-LABlab(53.97, 3.97, -36.06)
CIE-LCHlch(53.97, 36.28, 276.29°)
OKLaboklab(60.42% -0.0196 -0.1015)
OKLCHoklch(60.42% 0.103 259.1)
XYZxyz(21.6978, 21.9494, 52.3734)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B82BF #BF985B
analogous
#5BB4BF #5B82BF #665BBF
triadic
#5B82BF #BF5B82 #82BF5B
tetradic
#5B82BF #BF5BB4 #BF985B #5BBF66
square
#5B82BF #BF5BB4 #BF985B #5BBF66
split-complementary
#5B82BF #BF665B #B4BF5B
monochromatic
#2D4873 #3E649F #5B82BF #87A4D0 #B3C5E1

Accessibility & contrast

On white

3.90
#5B82BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5B82BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B82BF
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B82BF#FFFFFF#000000##000000
##5B82BF1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A86C2
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#288F98
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b82bf;
/* rgb */ color: rgb(91, 130, 191);
/* oklch */ color: oklch(60.4% 0.103 259.1);
Tailwind
colors: {
  custom: {
    50: '#8fa6d2',
    500: '#5b82bf',
    950: '#000000',
  },
}
SCSS
$custom: #5b82bf;
$custom-light: #8fa6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b82bf",
  "rgb": {
    "r": 91,
    "g": 130,
    "b": 191
  },
  "hsl": {
    "h": 216.6,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60421,
    "c": 0.10335,
    "h": 259.1
  },
  "luminance": 0.21951
}

Semantic roles & 50–950 ramp

primary
#5B82BF
secondary
#D0BFA6
accent
#A254D4
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D0F14
muted
#7E7F82

Preview Lab

Preview with #5B82BF

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

Preview Lab → · Contrast checker → · Palette generator →

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