#5B6095#5B6095

#5B6095 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 50.8% C 0.084 H 278.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#5B6095
RGBrgb(91, 96, 149)
HSLhsl(235, 24%, 47%)
HSVhsv(235, 39%, 58%)
CMYKcmyk(38.9%, 35.6%, 0%, 41.6%)
CIE-LABlab(42.40, 11.84, -29.68)
CIE-LCHlch(42.40, 31.96, 291.75°)
OKLaboklab(50.79% 0.0129 -0.0831)
OKLCHoklch(50.79% 0.084 278.8)
XYZxyz(13.9205, 12.7593, 30.1573)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6095 #95905B
analogous
#5B7D95 #5B6095 #735B95
triadic
#5B6095 #955B60 #60955B
tetradic
#5B6095 #955B7D #95905B #5B9573
square
#5B6095 #955B7D #95905B #5B9573
split-complementary
#5B6095 #95735B #7D955B
monochromatic
#2D2F49 #44486F #5B6095 #7D82B0 #A3A6C7

Accessibility & contrast

On white

5.91
#5B6095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5B6095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6095
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6095#FFFFFF#000000##FFFFFF
##5B60951.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6697
Deuteranopia (green-blind)
#4B6294
Tritanopia (blue-blind)
#4A6A73
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b6095;
/* rgb */ color: rgb(91, 96, 149);
/* oklch */ color: oklch(50.8% 0.084 278.8);
Tailwind
colors: {
  custom: {
    50: '#8c8db4',
    500: '#5b6095',
    950: '#000000',
  },
}
SCSS
$custom: #5b6095;
$custom-light: #8c8db4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6095",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 149
  },
  "hsl": {
    "h": 234.828,
    "s": 24.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50787,
    "c": 0.08411,
    "h": 278.8
  },
  "luminance": 0.1276
}

Semantic roles & 50–950 ramp

primary
#5B6095
secondary
#B5B297
accent
#B967C1
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0C0C11
muted
#7D7D80

Preview Lab

Preview with #5B6095

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

Preview Lab → · Contrast checker → · Palette generator →

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