#5B6CBB#5B6CBB

#5B6CBB is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.5% C 0.124 H 272.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5B6CBB
RGBrgb(91, 108, 187)
HSLhsl(229, 41%, 55%)
HSVhsv(229, 51%, 73%)
CMYKcmyk(51.3%, 42.2%, 0%, 26.7%)
CIE-LABlab(47.67, 16.08, -43.71)
CIE-LCHlch(47.67, 46.57, 290.19°)
OKLaboklab(55.48% 0.0056 -0.1239)
OKLCHoklch(55.48% 0.124 272.6)
XYZxyz(18.6437, 16.5359, 49.2134)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CBB #BBAA5B
analogous
#5B9CBB #5B6CBB #7A5BBB
triadic
#5B6CBB #BB5B6C #6CBB5B
tetradic
#5B6CBB #BB5B9C #BBAA5B #5BBB7A
square
#5B6CBB #BB5B9C #BBAA5B #5BBB7A
split-complementary
#5B6CBB #BB7A5B #9CBB5B
monochromatic
#2E396E #404F99 #5B6CBB #8693CD #B2BADF

Accessibility & contrast

On white

4.88
#5B6CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5B6CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6CBB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CBB#FFFFFF#000000##FFFFFF
##5B6CBB1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BE
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#317D8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b6cbb;
/* rgb */ color: rgb(91, 108, 187);
/* oklch */ color: oklch(55.5% 0.124 272.6);
Tailwind
colors: {
  custom: {
    50: '#8f95d0',
    500: '#5b6cbb',
    950: '#000000',
  },
}
SCSS
$custom: #5b6cbb;
$custom-light: #8f95d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6cbb",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 229.375,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5548,
    "c": 0.12407,
    "h": 272.6
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#5B6CBB
secondary
#CDC6A5
accent
#BB57D1
background
#F9F9FC
surface
#F1F1F9
border
#CBCBD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5B6CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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