#5A58F5#5A58F5

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

Color values

HEX#5A58F5
RGBrgb(90, 88, 245)
HSLhsl(241, 89%, 65%)
HSVhsv(241, 64%, 96%)
CMYKcmyk(63.3%, 64.1%, 0%, 3.9%)
CIE-LABlab(46.64, 46.84, -78.40)
CIE-LCHlch(46.64, 91.32, 300.86°)
OKLaboklab(55.94% 0.0265 -0.226)
OKLCHoklch(55.94% 0.228 276.7)
XYZxyz(24.1822, 15.7437, 88.1330)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58F5 #F3F558
analogous
#58A5F5 #5A58F5 #A858F5
triadic
#5A58F5 #F55A58 #58F55A
tetradic
#5A58F5 #F558A5 #F3F558 #58F5A8
square
#5A58F5 #F558A5 #F3F558 #58F5A8
split-complementary
#5A58F5 #F5A858 #A5F558
monochromatic
#0E0CC7 #211EF2 #5A58F5 #9392F8 #CCCBFC

Accessibility & contrast

On white

5.06
#5A58F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5A58F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58F5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58F5#FFFFFF#000000##FFFFFF
##5A58F51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FA
Deuteranopia (green-blind)
#0068F2
Tritanopia (blue-blind)
#00809F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a58f5;
/* rgb */ color: rgb(90, 88, 245);
/* oklch */ color: oklch(55.9% 0.228 276.7);
Tailwind
colors: {
  custom: {
    50: '#9988fa',
    500: '#5a58f5',
    950: '#000000',
  },
}
SCSS
$custom: #5a58f5;
$custom-light: #9988fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58f5",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 240.764,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.55935,
    "c": 0.22758,
    "h": 276.7
  },
  "luminance": 0.15746
}

Semantic roles & 50–950 ramp

primary
#5A58F5
secondary
#EEEFBA
accent
#E500E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A58F5

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

Preview Lab → · Contrast checker → · Palette generator →

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