#5B5BBD#5B5BBD

#5B5BBD is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.150 H 279.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5B5BBD
RGBrgb(91, 91, 189)
HSLhsl(240, 43%, 55%)
HSVhsv(240, 52%, 74%)
CMYKcmyk(51.9%, 51.9%, 0%, 25.9%)
CIE-LABlab(43.33, 27.29, -51.81)
CIE-LCHlch(43.33, 58.56, 297.78°)
OKLaboklab(52.23% 0.0257 -0.1478)
OKLCHoklch(52.23% 0.15 279.9)
XYZxyz(17.2379, 13.3794, 49.8084)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5BBD #BDBD5B
analogous
#5B8CBD #5B5BBD #8C5BBD
triadic
#5B5BBD #BD5B5B #5BBD5B
tetradic
#5B5BBD #BD5B8C #BDBD5B #5BBD8C
square
#5B5BBD #BD5B8C #BDBD5B #5BBD8C
split-complementary
#5B5BBD #BD8C5B #8CBD5B
monochromatic
#2D2D70 #3F3F9C #5B5BBD #8787CF #B2B2E0

Accessibility & contrast

On white

5.71
#5B5BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5B5BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5BBD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5BBD#FFFFFF#000000##FFFFFF
##5B5BBD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#1D63BB
Tritanopia (blue-blind)
#327183
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5b5bbd;
/* rgb */ color: rgb(91, 91, 189);
/* oklch */ color: oklch(52.2% 0.150 279.9);
Tailwind
colors: {
  custom: {
    50: '#9089d1',
    500: '#5b5bbd',
    950: '#000000',
  },
}
SCSS
$custom: #5b5bbd;
$custom-light: #9089d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5bbd",
  "rgb": {
    "r": 91,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 240,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.15007,
    "h": 279.9
  },
  "luminance": 0.1338
}

Semantic roles & 50–950 ramp

primary
#5B5BBD
secondary
#CFCFA5
accent
#D255D2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5B5BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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