#5B7BBB#5B7BBB

#5B7BBB is a mid, moderate blue. Relative luminance 0.200; OKLCH L 58.7% C 0.105 H 263.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5B7BBB
RGBrgb(91, 123, 187)
HSLhsl(220, 41%, 55%)
HSVhsv(220, 51%, 73%)
CMYKcmyk(51.3%, 34.2%, 0%, 26.7%)
CIE-LABlab(51.81, 6.90, -37.17)
CIE-LCHlch(51.81, 37.80, 280.52°)
OKLaboklab(58.68% -0.0123 -0.1047)
OKLCHoklch(58.68% 0.105 263.3)
XYZxyz(20.3640, 19.9765, 49.7868)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7BBB #BB9B5B
analogous
#5BABBB #5B7BBB #6B5BBB
triadic
#5B7BBB #BB5B7B #7BBB5B
tetradic
#5B7BBB #BB5BAB #BB9B5B #5BBB6B
square
#5B7BBB #BB5BAB #BB9B5B #5BBB6B
split-complementary
#5B7BBB #BB6B5B #ABBB5B
monochromatic
#2E436E #405D99 #5B7BBB #869ECD #B2C1DF

Accessibility & contrast

On white

4.20
#5B7BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5B7BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7BBB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7BBB#FFFFFF#000000##000000
##5B7BBB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6280BE
Deuteranopia (green-blind)
#5777BA
Tritanopia (blue-blind)
#2E8992
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b7bbb;
/* rgb */ color: rgb(91, 123, 187);
/* oklch */ color: oklch(58.7% 0.105 263.3);
Tailwind
colors: {
  custom: {
    50: '#8fa0d0',
    500: '#5b7bbb',
    950: '#000000',
  },
}
SCSS
$custom: #5b7bbb;
$custom-light: #8fa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7bbb",
  "rgb": {
    "r": 91,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 220,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58675,
    "c": 0.10545,
    "h": 263.3
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#5B7BBB
secondary
#CDC0A5
accent
#A857D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B7BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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