#5A58F9#5A58F9

#5A58F9 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.3% C 0.233 H 276.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5A58F9
RGBrgb(90, 88, 249)
HSLhsl(241, 93%, 66%)
HSVhsv(241, 65%, 98%)
CMYKcmyk(63.9%, 64.7%, 0%, 2.4%)
CIE-LABlab(46.96, 48.11, -80.10)
CIE-LCHlch(46.96, 93.44, 300.99°)
OKLaboklab(56.27% 0.0261 -0.231)
OKLCHoklch(56.27% 0.233 276.4)
XYZxyz(24.7995, 15.9906, 91.3838)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A58F9 #F7F958
analogous
#58A6F9 #5A58F9 #AA58F9
triadic
#5A58F9 #F95A58 #58F95A
tetradic
#5A58F9 #F958A6 #F7F958 #58F9AA
square
#5A58F9 #F958A6 #F7F958 #58F9AA
split-complementary
#5A58F9 #F9AA58 #A6F958
monochromatic
#0A07CF #201DF7 #5A58F9 #9493FB #CFCEFD

Accessibility & contrast

On white

5.00
#5A58F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5A58F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A58F9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A58F9#FFFFFF#000000##FFFFFF
##5A58F91.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FE
Deuteranopia (green-blind)
#0068F6
Tritanopia (blue-blind)
#0082A1
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a58f9;
/* rgb */ color: rgb(90, 88, 249);
/* oklch */ color: oklch(56.3% 0.233 276.4);
Tailwind
colors: {
  custom: {
    50: '#9a88fc',
    500: '#5a58f9',
    950: '#000000',
  },
}
SCSS
$custom: #5a58f9;
$custom-light: #9a88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a58f9",
  "rgb": {
    "r": 90,
    "g": 88,
    "b": 249
  },
  "hsl": {
    "h": 240.745,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56272,
    "c": 0.2325,
    "h": 276.4
  },
  "luminance": 0.15993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5A58F9

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

Preview Lab → · Contrast checker → · Palette generator →

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