#5B7CBB#5B7CBB

#5B7CBB is a mid, moderate blue. Relative luminance 0.202; OKLCH L 58.9% C 0.104 H 262.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5B7CBB
RGBrgb(91, 124, 187)
HSLhsl(219, 41%, 55%)
HSVhsv(219, 51%, 73%)
CMYKcmyk(51.3%, 33.7%, 0%, 26.7%)
CIE-LABlab(52.09, 6.30, -36.72)
CIE-LCHlch(52.09, 37.26, 279.73°)
OKLaboklab(58.89% -0.0135 -0.1034)
OKLCHoklch(58.89% 0.104 262.5)
XYZxyz(20.4887, 20.2259, 49.8284)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7CBB #BB9A5B
analogous
#5BACBB #5B7CBB #6A5BBB
triadic
#5B7CBB #BB5B7C #7CBB5B
tetradic
#5B7CBB #BB5BAC #BB9A5B #5BBB6A
square
#5B7CBB #BB5BAC #BB9A5B #5BBB6A
split-complementary
#5B7CBB #BB6A5B #ACBB5B
monochromatic
#2E446E #405E99 #5B7CBB #869FCD #B2C1DF

Accessibility & contrast

On white

4.16
#5B7CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5B7CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7CBB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7CBB#FFFFFF#000000##000000
##5B7CBB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BE
Deuteranopia (green-blind)
#5878BA
Tritanopia (blue-blind)
#2E8A93
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b7cbb;
/* rgb */ color: rgb(91, 124, 187);
/* oklch */ color: oklch(58.9% 0.104 262.5);
Tailwind
colors: {
  custom: {
    50: '#8fa1cf',
    500: '#5b7cbb',
    950: '#000000',
  },
}
SCSS
$custom: #5b7cbb;
$custom-light: #8fa1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7cbb",
  "rgb": {
    "r": 91,
    "g": 124,
    "b": 187
  },
  "hsl": {
    "h": 219.375,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58893,
    "c": 0.10432,
    "h": 262.5
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

primary
#5B7CBB
secondary
#CDBFA5
accent
#A757D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B7CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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