#5A58F7#5A58F7

#5A58F7 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.1% C 0.230 H 276.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5A58F7
RGBrgb(90, 88, 247)
HSLhsl(241, 91%, 66%)
HSVhsv(241, 64%, 97%)
CMYKcmyk(63.6%, 64.4%, 0%, 3.1%)
CIE-LABlab(46.80, 47.48, -79.25)
CIE-LCHlch(46.80, 92.38, 300.93°)
OKLaboklab(56.1% 0.0263 -0.2285)
OKLCHoklch(56.1% 0.23 276.6)
XYZxyz(24.4892, 15.8665, 89.7497)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58F7 #F5F758
analogous
#58A5F7 #5A58F7 #AA58F7
triadic
#5A58F7 #F75A58 #58F75A
tetradic
#5A58F7 #F758A5 #F5F758 #58F7AA
square
#5A58F7 #F758A5 #F5F758 #58F7AA
split-complementary
#5A58F7 #F7AA58 #A5F758
monochromatic
#0C0ACB #201EF4 #5A58F7 #9492FA #CDCDFD

Accessibility & contrast

On white

5.03
#5A58F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5A58F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58F7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58F7#FFFFFF#000000##FFFFFF
##5A58F71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FC
Deuteranopia (green-blind)
#0068F4
Tritanopia (blue-blind)
#0081A0
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a58f7;
/* rgb */ color: rgb(90, 88, 247);
/* oklch */ color: oklch(56.1% 0.230 276.6);
Tailwind
colors: {
  custom: {
    50: '#9988fb',
    500: '#5a58f7',
    950: '#000000',
  },
}
SCSS
$custom: #5a58f7;
$custom-light: #9988fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58f7",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 247
  },
  "hsl": {
    "h": 240.755,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56103,
    "c": 0.23004,
    "h": 276.6
  },
  "luminance": 0.15869
}

Semantic roles & 50–950 ramp

primary
#5A58F7
secondary
#EFF0BB
accent
#E600E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B18
muted
#7F7C86

Preview Lab

Preview with #5A58F7

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

Preview Lab → · Contrast checker → · Palette generator →

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