#5D58BC#5D58BC

#5D58BC is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.152 H 281.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5D58BC
RGBrgb(93, 88, 188)
HSLhsl(243, 43%, 54%)
HSVhsv(243, 53%, 74%)
CMYKcmyk(50.5%, 53.2%, 0%, 26.3%)
CIE-LABlab(42.67, 29.27, -52.29)
CIE-LCHlch(42.67, 59.92, 299.24°)
OKLaboklab(51.75% 0.0315 -0.1492)
OKLCHoklch(51.75% 0.152 281.9)
XYZxyz(17.0783, 12.9365, 49.1643)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58BC #B7BC58
analogous
#5885BC #5D58BC #8F58BC
triadic
#5D58BC #BC5D58 #58BC5D
tetradic
#5D58BC #BC5885 #B7BC58 #58BC8F
square
#5D58BC #BC5885 #B7BC58 #58BC8F
split-complementary
#5D58BC #BC8F58 #85BC58
monochromatic
#2F2C6E #423E99 #5D58BC #8784CE #B2AFDF

Accessibility & contrast

On white

5.85
#5D58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5D58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58BC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58BC#FFFFFF#000000##FFFFFF
##5D58BC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#1961BA
Tritanopia (blue-blind)
#386E81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d58bc;
/* rgb */ color: rgb(93, 88, 188);
/* oklch */ color: oklch(51.7% 0.152 281.9);
Tailwind
colors: {
  custom: {
    50: '#9287d1',
    500: '#5d58bc',
    950: '#000000',
  },
}
SCSS
$custom: #5d58bc;
$custom-light: #9287d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58bc",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 243,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5175,
    "c": 0.15249,
    "h": 281.9
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#5D58BC
secondary
#CBCDA3
accent
#D355CC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5D58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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