#5B7ABA#5B7ABA

#5B7ABA is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.4% C 0.105 H 263.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5B7ABA
RGBrgb(91, 122, 186)
HSLhsl(220, 41%, 54%)
HSVhsv(220, 51%, 73%)
CMYKcmyk(51.1%, 34.4%, 0%, 27.1%)
CIE-LABlab(51.48, 7.19, -37.11)
CIE-LCHlch(51.48, 37.80, 280.96°)
OKLaboklab(58.4% -0.0114 -0.1046)
OKLCHoklch(58.4% 0.105 263.8)
XYZxyz(20.1339, 19.6870, 49.1839)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7ABA #BA9B5B
analogous
#5BAABA #5B7ABA #6C5BBA
triadic
#5B7ABA #BA5B7A #7ABA5B
tetradic
#5B7ABA #BA5BAA #BA9B5B #5BBA6C
square
#5B7ABA #BA5BAA #BA9B5B #5BBA6C
split-complementary
#5B7ABA #BA6C5B #AABA5B
monochromatic
#2E426D #405D98 #5B7ABA #869DCC #B1C0DE

Accessibility & contrast

On white

4.25
#5B7ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5B7ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7ABA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7ABA#FFFFFF#000000##000000
##5B7ABA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#617FBD
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#2F8891
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b7aba;
/* rgb */ color: rgb(91, 122, 186);
/* oklch */ color: oklch(58.4% 0.105 263.8);
Tailwind
colors: {
  custom: {
    50: '#8fa0cf',
    500: '#5b7aba',
    950: '#000000',
  },
}
SCSS
$custom: #5b7aba;
$custom-light: #8fa0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7aba",
  "rgb": {
    "r": 91,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 220.421,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58403,
    "c": 0.10519,
    "h": 263.8
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

primary
#5B7ABA
secondary
#CDBFA4
accent
#A957D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5B7ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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