#5A58FE#5A58FE

#5A58FE is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.7% C 0.239 H 276.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5A58FE
RGBrgb(90, 88, 254)
HSLhsl(241, 99%, 67%)
HSVhsv(241, 65%, 100%)
CMYKcmyk(64.6%, 65.4%, 0%, 0.4%)
CIE-LABlab(47.37, 49.69, -82.21)
CIE-LCHlch(47.37, 96.06, 301.15°)
OKLaboklab(56.7% 0.0256 -0.2372)
OKLCHoklch(56.7% 0.239 276.2)
XYZxyz(25.5897, 16.3067, 95.5457)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58FE #FCFE58
analogous
#58A9FE #5A58FE #AD58FE
triadic
#5A58FE #FE5A58 #58FE5A
tetradic
#5A58FE #FE58A9 #FCFE58 #58FEAD
square
#5A58FE #FE58A9 #FCFE58 #58FEAD
split-complementary
#5A58FE #FEAD58 #A9FE58
monochromatic
#0401DA #1E1BFE #5A58FE #9695FE #D2D2FF

Accessibility & contrast

On white

4.93
#5A58FE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5A58FE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58FE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58FE#FFFFFF#000000##FFFFFF
##5A58FE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0069FB
Tritanopia (blue-blind)
#0084A4
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5a58fe;
/* rgb */ color: rgb(90, 88, 254);
/* oklch */ color: oklch(56.7% 0.239 276.2);
Tailwind
colors: {
  custom: {
    50: '#9b88ff',
    500: '#5a58fe',
    950: '#000000',
  },
}
SCSS
$custom: #5a58fe;
$custom-light: #9b88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58fe",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 254
  },
  "hsl": {
    "h": 240.723,
    "s": 98.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.2386,
    "h": 276.2
  },
  "luminance": 0.16309
}

Semantic roles & 50–950 ramp

primary
#5A58FE
secondary
#F3F3BF
accent
#E600E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5A58FE

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

Preview Lab → · Contrast checker → · Palette generator →

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