#5B7ABE#5B7ABE

#5B7ABE is a mid, moderate blue. Relative luminance 0.199; OKLCH L 58.6% C 0.111 H 264.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5B7ABE
RGBrgb(91, 122, 190)
HSLhsl(221, 43%, 55%)
HSVhsv(221, 52%, 75%)
CMYKcmyk(52.1%, 35.8%, 0%, 25.5%)
CIE-LABlab(51.68, 8.45, -39.10)
CIE-LCHlch(51.68, 40.00, 282.20°)
OKLaboklab(58.62% -0.0104 -0.1103)
OKLCHoklch(58.62% 0.111 264.6)
XYZxyz(20.5651, 19.8595, 51.4548)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7ABE #BE9F5B
analogous
#5BABBE #5B7ABE #6D5BBE
triadic
#5B7ABE #BE5B7A #7ABE5B
tetradic
#5B7ABE #BE5BAB #BE9F5B #5BBE6D
square
#5B7ABE #BE5BAB #BE9F5B #5BBE6D
split-complementary
#5B7ABE #BE6D5B #ABBE5B
monochromatic
#2D4272 #3E5C9D #5B7ABE #879ECF #B3C1E1

Accessibility & contrast

On white

4.22
#5B7ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5B7ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7ABE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7ABE#FFFFFF#000000##000000
##5B7ABE1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C1
Deuteranopia (green-blind)
#5477BD
Tritanopia (blue-blind)
#2B8993
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b7abe;
/* rgb */ color: rgb(91, 122, 190);
/* oklch */ color: oklch(58.6% 0.111 264.6);
Tailwind
colors: {
  custom: {
    50: '#8fa0d2',
    500: '#5b7abe',
    950: '#000000',
  },
}
SCSS
$custom: #5b7abe;
$custom-light: #8fa0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7abe",
  "rgb": {
    "r": 91,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 221.212,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5862,
    "c": 0.11084,
    "h": 264.6
  },
  "luminance": 0.19861
}

Semantic roles & 50–950 ramp

primary
#5B7ABE
secondary
#CFC2A6
accent
#AB55D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B7ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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