#5B6090#5B6090

#5B6090 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.5% C 0.076 H 278.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5B6090
RGBrgb(91, 96, 144)
HSLhsl(234, 23%, 46%)
HSVhsv(234, 37%, 56%)
CMYKcmyk(36.8%, 33.3%, 0%, 43.5%)
CIE-LABlab(42.16, 10.38, -27.06)
CIE-LCHlch(42.16, 28.98, 290.99°)
OKLaboklab(50.52% 0.0116 -0.0755)
OKLCHoklch(50.52% 0.076 278.7)
XYZxyz(13.5299, 12.6030, 28.0999)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6090 #908B5B
analogous
#5B7A90 #5B6090 #705B90
triadic
#5B6090 #905B60 #60905B
tetradic
#5B6090 #905B7A #908B5B #5B9070
square
#5B6090 #905B7A #908B5B #5B9070
split-complementary
#5B6090 #90705B #7A905B
monochromatic
#2C2E45 #43476A #5B6090 #7C81AC #A1A5C4

Accessibility & contrast

On white

5.96
#5B6090 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5B6090 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6090
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6090#FFFFFF#000000##FFFFFF
##5B60901.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516692
Deuteranopia (green-blind)
#4E628F
Tritanopia (blue-blind)
#4C6971
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b6090;
/* rgb */ color: rgb(91, 96, 144);
/* oklch */ color: oklch(50.5% 0.076 278.7);
Tailwind
colors: {
  custom: {
    50: '#8b8db0',
    500: '#5b6090',
    950: '#000000',
  },
}
SCSS
$custom: #5b6090;
$custom-light: #8b8db0;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6090",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 144
  },
  "hsl": {
    "h": 234.34,
    "s": 22.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50523,
    "c": 0.07641,
    "h": 278.7
  },
  "luminance": 0.12604
}

Semantic roles & 50–950 ramp

primary
#5B6090
secondary
#B2AF95
accent
#B769BF
background
#F8F8FA
surface
#F0F0F5
border
#CBCBCF
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5B6090

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

Preview Lab → · Contrast checker → · Palette generator →

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