#5B58F4#5B58F4

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

Color values

HEX#5B58F4
RGBrgb(91, 88, 244)
HSLhsl(241, 88%, 65%)
HSVhsv(241, 64%, 96%)
CMYKcmyk(62.7%, 63.9%, 0%, 4.3%)
CIE-LABlab(46.62, 46.66, -77.86)
CIE-LCHlch(46.62, 90.77, 300.94°)
OKLaboklab(55.92% 0.0277 -0.2244)
OKLCHoklch(55.92% 0.226 277)
XYZxyz(24.1279, 15.7333, 87.3357)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58F4 #F1F458
analogous
#58A3F4 #5B58F4 #A958F4
triadic
#5B58F4 #F45B58 #58F45B
tetradic
#5B58F4 #F458A3 #F1F458 #58F4A9
square
#5B58F4 #F458A3 #F1F458 #58F4A9
split-complementary
#5B58F4 #F4A958 #A3F458
monochromatic
#100DC5 #231FF0 #5B58F4 #9391F8 #CCCBFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B58F4#FFFFFF#000000##FFFFFF
##5B58F41.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)
#0075F9
Deuteranopia (green-blind)
#0068F1
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b58f4;
/* rgb */ color: rgb(91, 88, 244);
/* oklch */ color: oklch(55.9% 0.226 277.0);
Tailwind
colors: {
  custom: {
    50: '#9988f9',
    500: '#5b58f4',
    950: '#000000',
  },
}
SCSS
$custom: #5b58f4;
$custom-light: #9988f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58f4",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 244
  },
  "hsl": {
    "h": 241.154,
    "s": 87.64,
    "l": 65.098
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.22613,
    "h": 277
  },
  "luminance": 0.15735
}

Semantic roles & 50–950 ramp

primary
#5B58F4
secondary
#EDEEB9
accent
#E401E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5B58F4

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

Preview Lab → · Contrast checker → · Palette generator →

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