#5B6CDC#5B6CDC

#5B6CDC is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.6% C 0.170 H 273.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5B6CDC
RGBrgb(91, 108, 220)
HSLhsl(232, 65%, 61%)
HSVhsv(232, 59%, 86%)
CMYKcmyk(58.6%, 50.9%, 0%, 13.7%)
CIE-LABlab(49.64, 26.81, -59.45)
CIE-LCHlch(49.64, 65.22, 294.27°)
OKLaboklab(57.61% 0.01 -0.1702)
OKLCHoklch(57.61% 0.17 273.4)
XYZxyz(22.5910, 18.1148, 70.0023)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CDC #DCCB5B
analogous
#5BACDC #5B6CDC #8A5BDC
triadic
#5B6CDC #DC5B6C #6CDC5B
tetradic
#5B6CDC #DC5BAC #DCCB5B #5BDC8A
square
#5B6CDC #DC5BAC #DCCB5B #5BDC8A
split-complementary
#5B6CDC #DC8A5B #ACDC5B
monochromatic
#21319B #2C41CE #5B6CDC #8D99E7 #C0C6F2

Accessibility & contrast

On white

4.54
#5B6CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5B6CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6CDC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CDC#FFFFFF#000000##000000
##5B6CDC1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#0E71DA
Tritanopia (blue-blind)
#00869A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b6cdc;
/* rgb */ color: rgb(91, 108, 220);
/* oklch */ color: oklch(57.6% 0.170 273.4);
Tailwind
colors: {
  custom: {
    50: '#9495e7',
    500: '#5b6cdc',
    950: '#000000',
  },
}
SCSS
$custom: #5b6cdc;
$custom-light: #9495e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6cdc",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 232.093,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57607,
    "c": 0.17046,
    "h": 273.4
  },
  "luminance": 0.18117
}

Semantic roles & 50–950 ramp

primary
#5B6CDC
secondary
#E2DBB1
accent
#B519CD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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