#5D59BC#5D59BC

#5D59BC is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.9% C 0.151 H 281.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5D59BC
RGBrgb(93, 89, 188)
HSLhsl(242, 42%, 54%)
HSVhsv(242, 53%, 74%)
CMYKcmyk(50.5%, 52.7%, 0%, 26.3%)
CIE-LABlab(42.92, 28.65, -51.88)
CIE-LCHlch(42.92, 59.27, 298.91°)
OKLaboklab(51.94% 0.0303 -0.148)
OKLCHoklch(51.94% 0.151 281.6)
XYZxyz(17.1609, 13.1018, 49.1919)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D59BC #B8BC59
analogous
#5987BC #5D59BC #8F59BC
triadic
#5D59BC #BC5D59 #59BC5D
tetradic
#5D59BC #BC5987 #B8BC59 #59BC8F
square
#5D59BC #BC5987 #B8BC59 #59BC8F
split-complementary
#5D59BC #BC8F59 #87BC59
monochromatic
#2F2C6E #423E9A #5D59BC #8885CE #B2B0DF

Accessibility & contrast

On white

5.80
#5D59BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5D59BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D59BC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D59BC#FFFFFF#000000##FFFFFF
##5D59BC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569BF
Deuteranopia (green-blind)
#1C62BA
Tritanopia (blue-blind)
#386F82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d59bc;
/* rgb */ color: rgb(93, 89, 188);
/* oklch */ color: oklch(51.9% 0.151 281.6);
Tailwind
colors: {
  custom: {
    50: '#9288d1',
    500: '#5d59bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d59bc;
$custom-light: #9288d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d59bc",
  "rgb": {
    "r": 93,
    "g": 89,
    "b": 188
  },
  "hsl": {
    "h": 242.424,
    "s": 42.489,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51936,
    "c": 0.15111,
    "h": 281.6
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#5D59BC
secondary
#CCCDA3
accent
#D256CD
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5D59BC

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

Preview Lab → · Contrast checker → · Palette generator →

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