#5D58BB#5D58BB

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

Color values

HEX#5D58BB
RGBrgb(93, 88, 187)
HSLhsl(243, 42%, 54%)
HSVhsv(243, 53%, 73%)
CMYKcmyk(50.3%, 52.9%, 0%, 26.7%)
CIE-LABlab(42.60, 28.96, -51.81)
CIE-LCHlch(42.60, 59.35, 299.20°)
OKLaboklab(51.68% 0.0314 -0.1478)
OKLCHoklch(51.68% 0.151 282)
XYZxyz(16.9708, 12.8935, 48.5985)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D58BB #B6BB58
analogous
#5885BB #5D58BB #8F58BB
triadic
#5D58BB #BB5D58 #58BB5D
tetradic
#5D58BB #BB5885 #B6BB58 #58BB8F
square
#5D58BB #BB5885 #B6BB58 #58BB8F
split-complementary
#5D58BB #BB8F58 #85BB58
monochromatic
#2F2C6C #423E98 #5D58BB #8783CD #B1AFDE

Accessibility & contrast

On white

5.87
#5D58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5D58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D58BB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D58BB#FFFFFF#000000##FFFFFF
##5D58BB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#396E81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d58bb;
/* rgb */ color: rgb(93, 88, 187);
/* oklch */ color: oklch(51.7% 0.151 282.0);
Tailwind
colors: {
  custom: {
    50: '#9187d0',
    500: '#5d58bb',
    950: '#000000',
  },
}
SCSS
$custom: #5d58bb;
$custom-light: #9187d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d58bb",
  "rgb": {
    "r": 93,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 243.03,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5168,
    "c": 0.1511,
    "h": 282
  },
  "luminance": 0.12894
}

Semantic roles & 50–950 ramp

primary
#5D58BB
secondary
#CACDA2
accent
#D256CC
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5D58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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