#5B7BBD#5B7BBD

#5B7BBD is a mid, moderate blue. Relative luminance 0.201; OKLCH L 58.8% C 0.108 H 263.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5B7BBD
RGBrgb(91, 123, 189)
HSLhsl(220, 43%, 55%)
HSVhsv(220, 52%, 74%)
CMYKcmyk(51.9%, 34.9%, 0%, 25.9%)
CIE-LABlab(51.91, 7.53, -38.16)
CIE-LCHlch(51.91, 38.90, 281.17°)
OKLaboklab(58.78% -0.0118 -0.1076)
OKLCHoklch(58.78% 0.108 263.7)
XYZxyz(20.5796, 20.0627, 50.9223)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7BBD #BD9D5B
analogous
#5BACBD #5B7BBD #6C5BBD
triadic
#5B7BBD #BD5B7B #7BBD5B
tetradic
#5B7BBD #BD5BAC #BD9D5B #5BBD6C
square
#5B7BBD #BD5BAC #BD9D5B #5BBD6C
split-complementary
#5B7BBD #BD6C5B #ACBD5B
monochromatic
#2D4370 #3F5D9C #5B7BBD #879ECF #B2C1E0

Accessibility & contrast

On white

4.19
#5B7BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5B7BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7BBD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7BBD#FFFFFF#000000##000000
##5B7BBD1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C0
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#2C8993
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b7bbd;
/* rgb */ color: rgb(91, 123, 189);
/* oklch */ color: oklch(58.8% 0.108 263.7);
Tailwind
colors: {
  custom: {
    50: '#8fa0d1',
    500: '#5b7bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5b7bbd;
$custom-light: #8fa0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7bbd",
  "rgb": {
    "r": 91,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 220.408,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.10827,
    "h": 263.7
  },
  "luminance": 0.20064
}

Semantic roles & 50–950 ramp

primary
#5B7BBD
secondary
#CFC1A5
accent
#AA55D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B7BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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