#5D5BC2#5D5BC2

#5D5BC2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.7% C 0.157 H 280.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5D5BC2
RGBrgb(93, 91, 194)
HSLhsl(241, 46%, 56%)
HSVhsv(241, 53%, 76%)
CMYKcmyk(52.1%, 53.1%, 0%, 23.9%)
CIE-LABlab(43.80, 29.30, -53.94)
CIE-LCHlch(43.80, 61.39, 298.51°)
OKLaboklab(52.73% 0.0284 -0.1541)
OKLCHoklch(52.73% 0.157 280.4)
XYZxyz(17.9899, 13.7033, 52.7255)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BC2 #C0C25B
analogous
#5B8CC2 #5D5BC2 #905BC2
triadic
#5D5BC2 #C25D5B #5BC25D
tetradic
#5D5BC2 #C25B8C #C0C25B #5BC290
square
#5D5BC2 #C25B8C #C0C25B #5BC290
split-complementary
#5D5BC2 #C2905B #8CC25B
monochromatic
#2E2C77 #3F3DA3 #5D5BC2 #8988D3 #B5B4E3

Accessibility & contrast

On white

5.61
#5D5BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5D5BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BC2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BC2#FFFFFF#000000##FFFFFF
##5D5BC21.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226BC6
Deuteranopia (green-blind)
#1564C0
Tritanopia (blue-blind)
#337286
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d5bc2;
/* rgb */ color: rgb(93, 91, 194);
/* oklch */ color: oklch(52.7% 0.157 280.4);
Tailwind
colors: {
  custom: {
    50: '#9289d5',
    500: '#5d5bc2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bc2;
$custom-light: #9289d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bc2",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 241.165,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.15667,
    "h": 280.4
  },
  "luminance": 0.13704
}

Semantic roles & 50–950 ramp

primary
#5D5BC2
secondary
#D1D2A7
accent
#D552D3
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5D5BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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