#5B6BB2#5B6BB2

#5B6BB2 is a mid, moderate blue. Relative luminance 0.160; OKLCH L 54.7% C 0.112 H 272.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5B6BB2
RGBrgb(91, 107, 178)
HSLhsl(229, 36%, 53%)
HSVhsv(229, 49%, 70%)
CMYKcmyk(48.9%, 39.9%, 0%, 30.2%)
CIE-LABlab(46.91, 13.84, -39.69)
CIE-LCHlch(46.91, 42.03, 289.23°)
OKLaboklab(54.74% 0.0051 -0.1122)
OKLCHoklch(54.74% 0.112 272.6)
XYZxyz(17.6054, 15.9528, 44.2624)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BB2 #B2A25B
analogous
#5B96B2 #5B6BB2 #775BB2
triadic
#5B6BB2 #B25B6B #6BB25B
tetradic
#5B6BB2 #B25B96 #B2A25B #5BB277
square
#5B6BB2 #B25B96 #B2A25B #5BB277
split-complementary
#5B6BB2 #B2775B #96B25B
monochromatic
#2F3964 #42508D #5B6BB2 #8591C6 #AEB6D9

Accessibility & contrast

On white

5.01
#5B6BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5B6BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6BB2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BB2#FFFFFF#000000##FFFFFF
##5B6BB21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5073B5
Deuteranopia (green-blind)
#476CB0
Tritanopia (blue-blind)
#397A86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5b6bb2;
/* rgb */ color: rgb(91, 107, 178);
/* oklch */ color: oklch(54.7% 0.112 272.6);
Tailwind
colors: {
  custom: {
    50: '#8e95c9',
    500: '#5b6bb2',
    950: '#000000',
  },
}
SCSS
$custom: #5b6bb2;
$custom-light: #8e95c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6bb2",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 228.966,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54741,
    "c": 0.1123,
    "h": 272.6
  },
  "luminance": 0.15954
}

Semantic roles & 50–950 ramp

primary
#5B6BB2
secondary
#C7C0A2
accent
#B75CCC
background
#F9F9FC
surface
#F1F1F8
border
#CBCBD1
text
#0D0D13
muted
#7E7E82

Preview Lab

Preview with #5B6BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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