#5B6BCA#5B6BCA

#5B6BCA is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.2% C 0.147 H 273.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5B6BCA
RGBrgb(91, 107, 202)
HSLhsl(231, 51%, 57%)
HSVhsv(231, 55%, 79%)
CMYKcmyk(55%, 47%, 0%, 20.8%)
CIE-LABlab(48.26, 21.53, -51.40)
CIE-LCHlch(48.26, 55.73, 292.73°)
OKLaboklab(56.21% 0.0091 -0.1465)
OKLCHoklch(56.21% 0.147 273.6)
XYZxyz(20.2293, 17.0024, 58.0815)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6BCA #CABA5B
analogous
#5BA3CA #5B6BCA #825BCA
triadic
#5B6BCA #CA5B6B #6BCA5B
tetradic
#5B6BCA #CA5BA3 #CABA5B #5BCA82
square
#5B6BCA #CA5BA3 #CABA5B #5BCA82
split-complementary
#5B6BCA #CA825B #A3CA5B
monochromatic
#2A3681 #394AAF #5B6BCA #8995D9 #B8BEE8

Accessibility & contrast

On white

4.77
#5B6BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5B6BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6BCA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6BCA#FFFFFF#000000##FFFFFF
##5B6BCA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CE
Deuteranopia (green-blind)
#316EC8
Tritanopia (blue-blind)
#208091
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b6bca;
/* rgb */ color: rgb(91, 107, 202);
/* oklch */ color: oklch(56.2% 0.147 273.6);
Tailwind
colors: {
  custom: {
    50: '#9195db',
    500: '#5b6bca',
    950: '#000000',
  },
}
SCSS
$custom: #5b6bca;
$custom-light: #9195db;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6bca",
  "rgb": {
    "r": 91,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 231.351,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56211,
    "c": 0.14679,
    "h": 273.6
  },
  "luminance": 0.17004
}

Semantic roles & 50–950 ramp

primary
#5B6BCA
secondary
#D7D0AA
accent
#C64DDB
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5B6BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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