#5D5BB2#5D5BB2

#5D5BB2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.6% C 0.134 H 281.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5D5BB2
RGBrgb(93, 91, 178)
HSLhsl(241, 36%, 53%)
HSVhsv(241, 49%, 70%)
CMYKcmyk(47.8%, 48.9%, 0%, 30.2%)
CIE-LABlab(42.80, 24.29, -46.23)
CIE-LCHlch(42.80, 52.22, 297.72°)
OKLaboklab(51.65% 0.0271 -0.1314)
OKLCHoklch(51.65% 0.134 281.7)
XYZxyz(16.2888, 13.0229, 43.7662)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BB2 #B0B25B
analogous
#5B85B2 #5D5BB2 #885BB2
triadic
#5D5BB2 #B25D5B #5BB25D
tetradic
#5D5BB2 #B25B85 #B0B25B #5BB288
square
#5D5BB2 #B25B85 #B0B25B #5BB288
split-complementary
#5D5BB2 #B2885B #85B25B
monochromatic
#302F64 #44428D #5D5BB2 #8685C6 #AFAED9

Accessibility & contrast

On white

5.83
#5D5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5D5BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BB2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BB2#FFFFFF#000000##FFFFFF
##5D5BB21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3568B5
Deuteranopia (green-blind)
#2F62B0
Tritanopia (blue-blind)
#3F6E7E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d5bb2;
/* rgb */ color: rgb(93, 91, 178);
/* oklch */ color: oklch(51.6% 0.134 281.7);
Tailwind
colors: {
  custom: {
    50: '#9089c9',
    500: '#5d5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bb2;
$custom-light: #9089c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bb2",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 241.379,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51645,
    "c": 0.13416,
    "h": 281.7
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#5D5BB2
secondary
#C6C7A2
accent
#CC5CCA
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B13
muted
#7E7C82

Preview Lab

Preview with #5D5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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