#5B6ADE#5B6ADE

#5B6ADE is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.4% C 0.176 H 274.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5B6ADE
RGBrgb(91, 106, 222)
HSLhsl(233, 66%, 61%)
HSVhsv(233, 59%, 87%)
CMYKcmyk(59%, 52.3%, 0%, 12.9%)
CIE-LABlab(49.26, 28.70, -61.19)
CIE-LCHlch(49.26, 67.59, 295.13°)
OKLaboklab(57.36% 0.0121 -0.1753)
OKLCHoklch(57.36% 0.176 274)
XYZxyz(22.6489, 17.8044, 71.3361)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6ADE #DECF5B
analogous
#5BACDE #5B6ADE #8E5BDE
triadic
#5B6ADE #DE5B6A #6ADE5B
tetradic
#5B6ADE #DE5BAC #DECF5B #5BDE8E
square
#5B6ADE #DE5BAC #DECF5B #5BDE8E
split-complementary
#5B6ADE #DE8E5B #ACDE5B
monochromatic
#202E9F #2A3DD2 #5B6ADE #8E98E8 #C1C7F3

Accessibility & contrast

On white

4.60
#5B6ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5B6ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6ADE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6ADE#FFFFFF#000000##FFFFFF
##5B6ADE1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#247BE2
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#00859A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b6ade;
/* rgb */ color: rgb(91, 106, 222);
/* oklch */ color: oklch(57.4% 0.176 274.0);
Tailwind
colors: {
  custom: {
    50: '#9494e9',
    500: '#5b6ade',
    950: '#000000',
  },
}
SCSS
$custom: #5b6ade;
$custom-light: #9494e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6ade",
  "rgb": {
    "r": 91,
    "g": 106,
    "b": 222
  },
  "hsl": {
    "h": 233.13,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.17573,
    "h": 274
  },
  "luminance": 0.17806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B6ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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