#5B7BB7#5B7BB7

#5B7BB7 is a mid, moderate blue. Relative luminance 0.198; OKLCH L 58.5% C 0.100 H 262.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5B7BB7
RGBrgb(91, 123, 183)
HSLhsl(219, 39%, 54%)
HSVhsv(219, 50%, 72%)
CMYKcmyk(50.3%, 32.8%, 0%, 28.2%)
CIE-LABlab(51.62, 5.64, -35.17)
CIE-LCHlch(51.62, 35.62, 279.12°)
OKLaboklab(58.46% -0.0134 -0.0989)
OKLCHoklch(58.46% 0.1 262.3)
XYZxyz(19.9417, 19.8076, 47.5630)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7BB7 #B7975B
analogous
#5BA9B7 #5B7BB7 #695BB7
triadic
#5B7BB7 #B75B7B #7BB75B
tetradic
#5B7BB7 #B75BA9 #B7975B #5BB769
square
#5B7BB7 #B75BA9 #B7975B #5BB769
split-complementary
#5B7BB7 #B7695B #A9B75B
monochromatic
#2E4369 #415E94 #5B7BB7 #869DCA #B0BFDC

Accessibility & contrast

On white

4.23
#5B7BB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5B7BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7BB7
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7BB7#FFFFFF#000000##000000
##5B7BB71.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6480BA
Deuteranopia (green-blind)
#5977B6
Tritanopia (blue-blind)
#328891
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b7bb7;
/* rgb */ color: rgb(91, 123, 183);
/* oklch */ color: oklch(58.5% 0.100 262.3);
Tailwind
colors: {
  custom: {
    50: '#8fa0cd',
    500: '#5b7bb7',
    950: '#000000',
  },
}
SCSS
$custom: #5b7bb7;
$custom-light: #8fa0cd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7bb7",
  "rgb": {
    "r": 91,
    "g": 123,
    "b": 183
  },
  "hsl": {
    "h": 219.13,
    "s": 38.983,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58463,
    "c": 0.09982,
    "h": 262.3
  },
  "luminance": 0.19809
}

Semantic roles & 50–950 ramp

primary
#5B7BB7
secondary
#CBBDA3
accent
#A659CF
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E13
muted
#7E7E82

Preview Lab

Preview with #5B7BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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