#5B6CDF#5B6CDF

#5B6CDF is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.8% C 0.175 H 273.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5B6CDF
RGBrgb(91, 108, 223)
HSLhsl(232, 67%, 62%)
HSVhsv(232, 59%, 87%)
CMYKcmyk(59.2%, 51.6%, 0%, 12.5%)
CIE-LABlab(49.83, 27.80, -60.84)
CIE-LCHlch(49.83, 66.89, 294.56°)
OKLaboklab(57.81% 0.0102 -0.1742)
OKLCHoklch(57.81% 0.175 273.4)
XYZxyz(22.9918, 18.2752, 72.1136)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CDF #DFCE5B
analogous
#5BAEDF #5B6CDF #8C5BDF
triadic
#5B6CDF #DF5B6C #6CDF5B
tetradic
#5B6CDF #DF5BAE #DFCE5B #5BDF8C
square
#5B6CDF #DF5BAE #DFCE5B #5BDF8C
split-complementary
#5B6CDF #DF8C5B #AEDF5B
monochromatic
#1F30A0 #293FD4 #5B6CDF #8E9AE9 #C1C8F3

Accessibility & contrast

On white

4.51
#5B6CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5B6CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6CDF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CDF#FFFFFF#000000##000000
##5B6CDF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#297CE3
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#00869B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b6cdf;
/* rgb */ color: rgb(91, 108, 223);
/* oklch */ color: oklch(57.8% 0.175 273.4);
Tailwind
colors: {
  custom: {
    50: '#9595ea',
    500: '#5b6cdf',
    950: '#000000',
  },
}
SCSS
$custom: #5b6cdf;
$custom-light: #9595ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6cdf",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 232.273,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.17454,
    "h": 273.4
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#5B6CDF
secondary
#E3DDB2
accent
#B716CF
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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