#5B7ABC#5B7ABC

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

Color values

HEX#5B7ABC
RGBrgb(91, 122, 188)
HSLhsl(221, 42%, 55%)
HSVhsv(221, 52%, 74%)
CMYKcmyk(51.6%, 35.1%, 0%, 26.3%)
CIE-LABlab(51.58, 7.82, -38.10)
CIE-LCHlch(51.58, 38.90, 281.60°)
OKLaboklab(58.51% -0.0109 -0.1075)
OKLCHoklch(58.51% 0.108 264.2)
XYZxyz(20.3480, 19.7726, 50.3115)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7ABC #BC9D5B
analogous
#5BAABC #5B7ABC #6D5BBC
triadic
#5B7ABC #BC5B7A #7ABC5B
tetradic
#5B7ABC #BC5BAA #BC9D5B #5BBC6D
square
#5B7ABC #BC5BAA #BC9D5B #5BBC6D
split-complementary
#5B7ABC #BC6D5B #AABC5B
monochromatic
#2D426F #3F5C9B #5B7ABC #869DCE #B2C0E0

Accessibility & contrast

On white

4.24
#5B7ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#5B7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7ABC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7ABC#FFFFFF#000000##000000
##5B7ABC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080BF
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#2D8892
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b7abc;
/* rgb */ color: rgb(91, 122, 188);
/* oklch */ color: oklch(58.5% 0.108 264.2);
Tailwind
colors: {
  custom: {
    50: '#8fa0d0',
    500: '#5b7abc',
    950: '#000000',
  },
}
SCSS
$custom: #5b7abc;
$custom-light: #8fa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7abc",
  "rgb": {
    "r": 91,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 220.825,
    "s": 41.991,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.10801,
    "h": 264.2
  },
  "luminance": 0.19774
}

Semantic roles & 50–950 ramp

primary
#5B7ABC
secondary
#CEC1A5
accent
#AA56D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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