#5B5BBF#5B5BBF

#5B5BBF is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.153 H 279.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#5B5BBF
RGBrgb(91, 91, 191)
HSLhsl(240, 44%, 55%)
HSVhsv(240, 52%, 75%)
CMYKcmyk(52.4%, 52.4%, 0%, 25.1%)
CIE-LABlab(43.46, 27.93, -52.77)
CIE-LCHlch(43.46, 59.70, 297.89°)
OKLaboklab(52.36% 0.0258 -0.1507)
OKLCHoklch(52.36% 0.153 279.7)
XYZxyz(17.4565, 13.4669, 50.9596)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5BBF #BFBF5B
analogous
#5B8DBF #5B5BBF #8D5BBF
triadic
#5B5BBF #BF5B5B #5BBF5B
tetradic
#5B5BBF #BF5B8D #BFBF5B #5BBF8D
square
#5B5BBF #BF5B8D #BFBF5B #5BBF8D
split-complementary
#5B5BBF #BF8D5B #8DBF5B
monochromatic
#2D2D73 #3E3E9F #5B5BBF #8787D0 #B3B3E1

Accessibility & contrast

On white

5.69
#5B5BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5B5BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5BBF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5BBF#FFFFFF#000000##FFFFFF
##5B5BBF1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266BC3
Deuteranopia (green-blind)
#1963BD
Tritanopia (blue-blind)
#317184
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5b5bbf;
/* rgb */ color: rgb(91, 91, 191);
/* oklch */ color: oklch(52.4% 0.153 279.7);
Tailwind
colors: {
  custom: {
    50: '#9189d3',
    500: '#5b5bbf',
    950: '#000000',
  },
}
SCSS
$custom: #5b5bbf;
$custom-light: #9189d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5bbf",
  "rgb": {
    "r": 91,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52365,
    "c": 0.15286,
    "h": 279.7
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#5B5BBF
secondary
#D0D0A6
accent
#D454D4
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5B5BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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