#5C58BB#5C58BB

#5C58BB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.151 H 281.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5C58BB
RGBrgb(92, 88, 187)
HSLhsl(242, 42%, 54%)
HSVhsv(242, 53%, 73%)
CMYKcmyk(50.8%, 52.9%, 0%, 26.7%)
CIE-LABlab(42.52, 28.74, -51.94)
CIE-LCHlch(42.52, 59.36, 298.96°)
OKLaboklab(51.6% 0.0302 -0.1482)
OKLCHoklch(51.6% 0.151 281.5)
XYZxyz(16.8703, 12.8417, 48.5938)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C58BB #B7BB58
analogous
#5886BB #5C58BB #8E58BB
triadic
#5C58BB #BB5C58 #58BB5C
tetradic
#5C58BB #BB5886 #B7BB58 #58BB8E
square
#5C58BB #BB5886 #B7BB58 #58BB8E
split-complementary
#5C58BB #BB8E58 #86BB58
monochromatic
#2F2C6C #423E98 #5C58BB #8683CD #B1AFDE

Accessibility & contrast

On white

5.88
#5C58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5C58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C58BB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C58BB#FFFFFF#000000##FFFFFF
##5C58BB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2368BE
Deuteranopia (green-blind)
#1961B9
Tritanopia (blue-blind)
#376E81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5c58bb;
/* rgb */ color: rgb(92, 88, 187);
/* oklch */ color: oklch(51.6% 0.151 281.5);
Tailwind
colors: {
  custom: {
    50: '#9187d0',
    500: '#5c58bb',
    950: '#000000',
  },
}
SCSS
$custom: #5c58bb;
$custom-light: #9187d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c58bb",
  "rgb": {
    "r": 92,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 242.424,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.15125,
    "h": 281.5
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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