#5D5BA9#5D5BA9

#5D5BA9 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.121 H 282.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5D5BA9
RGBrgb(93, 91, 169)
HSLhsl(242, 31%, 51%)
HSVhsv(242, 46%, 66%)
CMYKcmyk(45%, 46.2%, 0%, 33.7%)
CIE-LABlab(42.27, 21.52, -41.77)
CIE-LCHlch(42.27, 46.99, 297.25°)
OKLaboklab(51.07% 0.026 -0.1183)
OKLCHoklch(51.07% 0.121 282.4)
XYZxyz(15.4146, 12.6732, 39.1624)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BA9 #A7A95B
analogous
#5B80A9 #5D5BA9 #845BA9
triadic
#5D5BA9 #A95D5B #5BA95D
tetradic
#5D5BA9 #A95B80 #A7A95B #5BA984
square
#5D5BA9 #A95B80 #A7A95B #5BA984
split-complementary
#5D5BA9 #A9845B #80A95B
monochromatic
#302F5A #464482 #5D5BA9 #8583BE #ACABD3

Accessibility & contrast

On white

5.94
#5D5BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5D5BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BA9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BA9#FFFFFF#000000##FFFFFF
##5D5BA91.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C66AC
Deuteranopia (green-blind)
#3861A7
Tritanopia (blue-blind)
#446B7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d5ba9;
/* rgb */ color: rgb(93, 91, 169);
/* oklch */ color: oklch(51.1% 0.121 282.4);
Tailwind
colors: {
  custom: {
    50: '#8f89c3',
    500: '#5d5ba9',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ba9;
$custom-light: #8f89c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ba9",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 169
  },
  "hsl": {
    "h": 241.538,
    "s": 31.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51072,
    "c": 0.12115,
    "h": 282.4
  },
  "luminance": 0.12674
}

Semantic roles & 50–950 ramp

primary
#5D5BA9
secondary
#C0C19F
accent
#C760C5
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0B12
muted
#7E7C81

Preview Lab

Preview with #5D5BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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