#5A58CA#5A58CA

#5A58CA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.172 H 279.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5A58CA
RGBrgb(90, 88, 202)
HSLhsl(241, 52%, 57%)
HSVhsv(241, 56%, 79%)
CMYKcmyk(55.4%, 56.4%, 0%, 20.8%)
CIE-LABlab(43.38, 33.09, -59.26)
CIE-LCHlch(43.38, 67.87, 299.18°)
OKLaboklab(52.53% 0.0283 -0.1698)
OKLCHoklch(52.53% 0.172 279.5)
XYZxyz(18.3635, 13.4162, 57.4876)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58CA #C8CA58
analogous
#588FCA #5A58CA #9358CA
triadic
#5A58CA #CA5A58 #58CA5A
tetradic
#5A58CA #CA588F #C8CA58 #58CA93
square
#5A58CA #CA588F #C8CA58 #58CA93
split-complementary
#5A58CA #CA9358 #8FCA58
monochromatic
#2A287F #3937AE #5A58CA #8886D9 #B6B5E7

Accessibility & contrast

On white

5.70
#5A58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5A58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58CA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58CA#FFFFFF#000000##FFFFFF
##5A58CA1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#217388
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5a58ca;
/* rgb */ color: rgb(90, 88, 202);
/* oklch */ color: oklch(52.5% 0.172 279.5);
Tailwind
colors: {
  custom: {
    50: '#9287db',
    500: '#5a58ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a58ca;
$custom-light: #9287db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58ca",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 241.053,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.17216,
    "h": 279.5
  },
  "luminance": 0.13417
}

Semantic roles & 50–950 ramp

primary
#5A58CA
secondary
#D5D6A8
accent
#DB4DD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5A58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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