#5A58CC#5A58CC

#5A58CC is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.175 H 279.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5A58CC
RGBrgb(90, 88, 204)
HSLhsl(241, 53%, 57%)
HSVhsv(241, 57%, 80%)
CMYKcmyk(55.9%, 56.9%, 0%, 20%)
CIE-LABlab(43.52, 33.73, -60.19)
CIE-LCHlch(43.52, 68.99, 299.27°)
OKLaboklab(52.68% 0.0283 -0.1725)
OKLCHoklch(52.68% 0.175 279.3)
XYZxyz(18.6018, 13.5115, 58.7428)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58CC #CACC58
analogous
#5890CC #5A58CC #9458CC
triadic
#5A58CC #CC5A58 #58CC5A
tetradic
#5A58CC #CC5890 #CACC58 #58CC94
square
#5A58CC #CC5890 #CACC58 #58CC94
split-complementary
#5A58CC #CC9458 #90CC58
monochromatic
#292882 #3836B1 #5A58CC #8887DA #B7B6E9

Accessibility & contrast

On white

5.67
#5A58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5A58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58CC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58CC#FFFFFF#000000##FFFFFF
##5A58CC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#1E7389
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a58cc;
/* rgb */ color: rgb(90, 88, 204);
/* oklch */ color: oklch(52.7% 0.175 279.3);
Tailwind
colors: {
  custom: {
    50: '#9287dc',
    500: '#5a58cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a58cc;
$custom-light: #9287dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58cc",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 241.034,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52675,
    "c": 0.17485,
    "h": 279.3
  },
  "luminance": 0.13513
}

Semantic roles & 50–950 ramp

primary
#5A58CC
secondary
#D7D7A8
accent
#DD4BDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5A58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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