#5B6091#5B6091

#5B6091 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.6% C 0.078 H 278.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5B6091
RGBrgb(91, 96, 145)
HSLhsl(234, 23%, 46%)
HSVhsv(234, 37%, 57%)
CMYKcmyk(37.2%, 33.8%, 0%, 43.1%)
CIE-LABlab(42.21, 10.67, -27.59)
CIE-LCHlch(42.21, 29.58, 291.15°)
OKLaboklab(50.58% 0.0119 -0.077)
OKLCHoklch(50.58% 0.078 278.8)
XYZxyz(13.6066, 12.6337, 28.5042)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6091 #918C5B
analogous
#5B7B91 #5B6091 #715B91
triadic
#5B6091 #915B60 #60915B
tetradic
#5B6091 #915B7B #918C5B #5B9171
square
#5B6091 #915B7B #918C5B #5B9171
split-complementary
#5B6091 #91715B #7B915B
monochromatic
#2C2E46 #43476B #5B6091 #7C81AD #A2A5C5

Accessibility & contrast

On white

5.95
#5B6091 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5B6091 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6091
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6091#FFFFFF#000000##FFFFFF
##5B60911.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506693
Deuteranopia (green-blind)
#4D6290
Tritanopia (blue-blind)
#4C6972
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b6091;
/* rgb */ color: rgb(91, 96, 145);
/* oklch */ color: oklch(50.6% 0.078 278.8);
Tailwind
colors: {
  custom: {
    50: '#8b8db1',
    500: '#5b6091',
    950: '#000000',
  },
}
SCSS
$custom: #5b6091;
$custom-light: #8b8db1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6091",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 145
  },
  "hsl": {
    "h": 234.444,
    "s": 22.881,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50575,
    "c": 0.07796,
    "h": 278.8
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#5B6091
secondary
#B2B095
accent
#B768BF
background
#F8F8FA
surface
#F0F0F5
border
#CBCBCF
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5B6091

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

Preview Lab → · Contrast checker → · Palette generator →

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