#5B6DBE#5B6DBE

#5B6DBE is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.9% C 0.127 H 272.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5B6DBE
RGBrgb(91, 109, 190)
HSLhsl(229, 43%, 55%)
HSVhsv(229, 52%, 75%)
CMYKcmyk(52.1%, 42.6%, 0%, 25.5%)
CIE-LABlab(48.11, 16.42, -44.75)
CIE-LCHlch(48.11, 47.67, 290.14°)
OKLaboklab(55.87% 0.005 -0.127)
OKLCHoklch(55.87% 0.127 272.3)
XYZxyz(19.0743, 16.8779, 50.9579)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6DBE #BEAC5B
analogous
#5B9EBE #5B6DBE #7B5BBE
triadic
#5B6DBE #BE5B6D #6DBE5B
tetradic
#5B6DBE #BE5B9E #BEAC5B #5BBE7B
square
#5B6DBE #BE5B9E #BEAC5B #5BBE7B
split-complementary
#5B6DBE #BE7B5B #9EBE5B
monochromatic
#2D3972 #3E509D #5B6DBE #8794CF #B3BBE1

Accessibility & contrast

On white

4.80
#5B6DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5B6DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6DBE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6DBE#FFFFFF#000000##FFFFFF
##5B6DBE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C1
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#2E7E8C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5b6dbe;
/* rgb */ color: rgb(91, 109, 190);
/* oklch */ color: oklch(55.9% 0.127 272.3);
Tailwind
colors: {
  custom: {
    50: '#9096d2',
    500: '#5b6dbe',
    950: '#000000',
  },
}
SCSS
$custom: #5b6dbe;
$custom-light: #9096d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6dbe",
  "rgb": {
    "r": 91,
    "g": 109,
    "b": 190
  },
  "hsl": {
    "h": 229.091,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.12708,
    "h": 272.3
  },
  "luminance": 0.16879
}

Semantic roles & 50–950 ramp

primary
#5B6DBE
secondary
#CFC8A6
accent
#BC55D3
background
#F9F9FC
surface
#F1F1F9
border
#CBCBD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5B6DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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