#5B7ABB#5B7ABB

#5B7ABB is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.5% C 0.107 H 264.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5B7ABB
RGBrgb(91, 122, 187)
HSLhsl(221, 41%, 55%)
HSVhsv(221, 51%, 73%)
CMYKcmyk(51.3%, 34.8%, 0%, 26.7%)
CIE-LABlab(51.53, 7.50, -37.61)
CIE-LCHlch(51.53, 38.35, 281.29°)
OKLaboklab(58.46% -0.0111 -0.106)
OKLCHoklch(58.46% 0.107 264)
XYZxyz(20.2406, 19.7297, 49.7457)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7ABB #BB9C5B
analogous
#5BAABB #5B7ABB #6C5BBB
triadic
#5B7ABB #BB5B7A #7ABB5B
tetradic
#5B7ABB #BB5BAA #BB9C5B #5BBB6C
square
#5B7ABB #BB5BAA #BB9C5B #5BBB6C
split-complementary
#5B7ABB #BB6C5B #AABB5B
monochromatic
#2E426E #405D99 #5B7ABB #869DCD #B2C0DF

Accessibility & contrast

On white

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

On black

4.95
#5B7ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B7ABB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7ABB#FFFFFF#000000##000000
##5B7ABB1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BE
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#2E8892
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b7abb;
/* rgb */ color: rgb(91, 122, 187);
/* oklch */ color: oklch(58.5% 0.107 264.0);
Tailwind
colors: {
  custom: {
    50: '#8fa0d0',
    500: '#5b7abb',
    950: '#000000',
  },
}
SCSS
$custom: #5b7abb;
$custom-light: #8fa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7abb",
  "rgb": {
    "r": 91,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 220.625,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58457,
    "c": 0.1066,
    "h": 264
  },
  "luminance": 0.19731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B7ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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