#5D58BE#5D58BE

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

Color values

HEX#5D58BE
RGBrgb(93, 88, 190)
HSLhsl(243, 44%, 55%)
HSVhsv(243, 54%, 75%)
CMYKcmyk(51.1%, 53.7%, 0%, 25.5%)
CIE-LABlab(42.80, 29.89, -53.24)
CIE-LCHlch(42.80, 61.06, 299.31°)
OKLaboklab(51.89% 0.0316 -0.152)
OKLCHoklch(51.89% 0.155 281.7)
XYZxyz(17.2954, 13.0234, 50.3076)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58BE #B9BE58
analogous
#5886BE #5D58BE #9058BE
triadic
#5D58BE #BE5D58 #58BE5D
tetradic
#5D58BE #BE5886 #B9BE58 #58BE90
square
#5D58BE #BE5886 #B9BE58 #58BE90
split-complementary
#5D58BE #BE9058 #86BE58
monochromatic
#2F2C70 #413D9C #5D58BE #8884CF #B2B0E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D58BE#FFFFFF#000000##FFFFFF
##5D58BE1.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)
#1F69C2
Deuteranopia (green-blind)
#1461BC
Tritanopia (blue-blind)
#376F82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d58be;
/* rgb */ color: rgb(93, 88, 190);
/* oklch */ color: oklch(51.9% 0.155 281.7);
Tailwind
colors: {
  custom: {
    50: '#9287d2',
    500: '#5d58be',
    950: '#000000',
  },
}
SCSS
$custom: #5d58be;
$custom-light: #9287d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58be",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 242.941,
    "s": 43.966,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.15526,
    "h": 281.7
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#5D58BE
secondary
#CCCEA3
accent
#D454CD
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5D58BE

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

Preview Lab → · Contrast checker → · Palette generator →

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