#5B6BBD#5B6BBD

#5B6BBD is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.4% C 0.128 H 273.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5B6BBD
RGBrgb(91, 107, 189)
HSLhsl(230, 43%, 55%)
HSVhsv(230, 52%, 74%)
CMYKcmyk(51.9%, 43.4%, 0%, 25.9%)
CIE-LABlab(47.51, 17.33, -45.12)
CIE-LCHlch(47.51, 48.34, 291.02°)
OKLaboklab(55.39% 0.0072 -0.1281)
OKLCHoklch(55.39% 0.128 273.2)
XYZxyz(18.7544, 16.4124, 50.3139)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BBD #BDAD5B
analogous
#5B9CBD #5B6BBD #7C5BBD
triadic
#5B6BBD #BD5B6B #6BBD5B
tetradic
#5B6BBD #BD5B9C #BDAD5B #5BBD7C
square
#5B6BBD #BD5B9C #BDAD5B #5BBD7C
split-complementary
#5B6BBD #BD7C5B #9CBD5B
monochromatic
#2D3870 #3F4E9C #5B6BBD #8792CF #B2BAE0

Accessibility & contrast

On white

4.90
#5B6BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5B6BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6BBD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BBD#FFFFFF#000000##FFFFFF
##5B6BBD1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4975C0
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#307D8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5b6bbd;
/* rgb */ color: rgb(91, 107, 189);
/* oklch */ color: oklch(55.4% 0.128 273.2);
Tailwind
colors: {
  custom: {
    50: '#9095d1',
    500: '#5b6bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5b6bbd;
$custom-light: #9095d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6bbd",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 189
  },
  "hsl": {
    "h": 230.204,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.12828,
    "h": 273.2
  },
  "luminance": 0.16414
}

Semantic roles & 50–950 ramp

primary
#5B6BBD
secondary
#CFC8A5
accent
#BE55D2
background
#F9F9FC
surface
#F1F1F9
border
#CBCBD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5B6BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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