#5A58CF#5A58CF

#5A58CF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.179 H 279.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5A58CF
RGBrgb(90, 88, 207)
HSLhsl(241, 55%, 58%)
HSVhsv(241, 57%, 81%)
CMYKcmyk(56.5%, 57.5%, 0%, 18.8%)
CIE-LABlab(43.74, 34.69, -61.57)
CIE-LCHlch(43.74, 70.67, 299.40°)
OKLaboklab(52.9% 0.0283 -0.1766)
OKLCHoklch(52.9% 0.179 279.1)
XYZxyz(18.9651, 13.6568, 60.6560)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58CF #CDCF58
analogous
#5892CF #5A58CF #9558CF
triadic
#5A58CF #CF5A58 #58CF5A
tetradic
#5A58CF #CF5892 #CDCF58 #58CF95
square
#5A58CF #CF5892 #CDCF58 #58CF95
split-complementary
#5A58CF #CF9558 #92CF58
monochromatic
#282786 #3634B6 #5A58CF #8988DD #B8B7EA

Accessibility & contrast

On white

5.63
#5A58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5A58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58CF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58CF#FFFFFF#000000##FFFFFF
##5A58CF1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#18748B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a58cf;
/* rgb */ color: rgb(90, 88, 207);
/* oklch */ color: oklch(52.9% 0.179 279.1);
Tailwind
colors: {
  custom: {
    50: '#9387de',
    500: '#5a58cf',
    950: '#000000',
  },
}
SCSS
$custom: #5a58cf;
$custom-light: #9387de;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58cf",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 241.008,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.529,
    "c": 0.17886,
    "h": 279.1
  },
  "luminance": 0.13658
}

Semantic roles & 50–950 ramp

primary
#5A58CF
secondary
#D8D9AA
accent
#DF49DC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5A58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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