#5B6CDA#5B6CDA

#5B6CDA is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.5% C 0.168 H 273.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5B6CDA
RGBrgb(91, 108, 218)
HSLhsl(232, 63%, 61%)
HSVhsv(232, 58%, 85%)
CMYKcmyk(58.3%, 50.5%, 0%, 14.5%)
CIE-LABlab(49.51, 26.15, -58.52)
CIE-LCHlch(49.51, 64.10, 294.08°)
OKLaboklab(57.47% 0.0098 -0.1674)
OKLCHoklch(57.47% 0.168 273.4)
XYZxyz(22.3277, 18.0095, 68.6157)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6CDA #DAC95B
analogous
#5BABDA #5B6CDA #8A5BDA
triadic
#5B6CDA #DA5B6C #6CDA5B
tetradic
#5B6CDA #DA5BAB #DAC95B #5BDA8A
square
#5B6CDA #DA5BAB #DAC95B #5BDA8A
split-complementary
#5B6CDA #DA8A5B #ABDA5B
monochromatic
#223298 #2E43CA #5B6CDA #8D99E5 #BFC6F1

Accessibility & contrast

On white

4.56
#5B6CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5B6CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B6CDA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6CDA#FFFFFF#000000##000000
##5B6CDA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#317BDE
Deuteranopia (green-blind)
#1570D8
Tritanopia (blue-blind)
#008599
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b6cda;
/* rgb */ color: rgb(91, 108, 218);
/* oklch */ color: oklch(57.5% 0.168 273.4);
Tailwind
colors: {
  custom: {
    50: '#9495e6',
    500: '#5b6cda',
    950: '#000000',
  },
}
SCSS
$custom: #5b6cda;
$custom-light: #9495e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6cda",
  "rgb": {
    "r": 91,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 231.969,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5747,
    "c": 0.16773,
    "h": 273.4
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#5B6CDA
secondary
#E1DAB0
accent
#B31BCB
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5B6CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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