#5A58F4#5A58F4

#5A58F4 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.226 H 276.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5A58F4
RGBrgb(90, 88, 244)
HSLhsl(241, 88%, 65%)
HSVhsv(241, 64%, 96%)
CMYKcmyk(63.1%, 63.9%, 0%, 4.3%)
CIE-LABlab(46.56, 46.53, -77.97)
CIE-LCHlch(46.56, 90.79, 300.83°)
OKLaboklab(55.85% 0.0265 -0.2248)
OKLCHoklch(55.85% 0.226 276.7)
XYZxyz(24.0300, 15.6828, 87.3312)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58F4 #F2F458
analogous
#58A4F4 #5A58F4 #A858F4
triadic
#5A58F4 #F45A58 #58F45A
tetradic
#5A58F4 #F458A4 #F2F458 #58F4A8
square
#5A58F4 #F458A4 #F2F458 #58F4A8
split-complementary
#5A58F4 #F4A858 #A4F458
monochromatic
#0F0DC5 #211FF0 #5A58F4 #9391F8 #CBCBFC

Accessibility & contrast

On white

5.08
#5A58F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5A58F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58F4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58F4#FFFFFF#000000##FFFFFF
##5A58F41.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F9
Deuteranopia (green-blind)
#0068F1
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a58f4;
/* rgb */ color: rgb(90, 88, 244);
/* oklch */ color: oklch(55.9% 0.226 276.7);
Tailwind
colors: {
  custom: {
    50: '#9988f9',
    500: '#5a58f4',
    950: '#000000',
  },
}
SCSS
$custom: #5a58f4;
$custom-light: #9988f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58f4",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 244
  },
  "hsl": {
    "h": 240.769,
    "s": 87.64,
    "l": 65.098
  },
  "oklch": {
    "l": 0.55851,
    "c": 0.22634,
    "h": 276.7
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#5A58F4
secondary
#EEEEB9
accent
#E401E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A58F4

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

Preview Lab → · Contrast checker → · Palette generator →

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