#5B58F9#5B58F9

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

Color values

HEX#5B58F9
RGBrgb(91, 88, 249)
HSLhsl(241, 93%, 66%)
HSVhsv(241, 65%, 98%)
CMYKcmyk(63.5%, 64.7%, 0%, 2.4%)
CIE-LABlab(47.03, 48.25, -79.99)
CIE-LCHlch(47.03, 93.41, 301.10°)
OKLaboklab(56.34% 0.0273 -0.2307)
OKLCHoklch(56.34% 0.232 276.7)
XYZxyz(24.8974, 16.0411, 91.3884)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B58F9 #F6F958
analogous
#58A5F9 #5B58F9 #AB58F9
triadic
#5B58F9 #F95B58 #58F95B
tetradic
#5B58F9 #F958A5 #F6F958 #58F9AB
square
#5B58F9 #F958A5 #F6F958 #58F9AB
split-complementary
#5B58F9 #F9AB58 #A5F958
monochromatic
#0B07CF #211DF7 #5B58F9 #9593FB #CFCEFD

Accessibility & contrast

On white

4.99
#5B58F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5B58F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B58F9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B58F9#FFFFFF#000000##FFFFFF
##5B58F91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b58f9;
/* rgb */ color: rgb(91, 88, 249);
/* oklch */ color: oklch(56.3% 0.232 276.7);
Tailwind
colors: {
  custom: {
    50: '#9a88fc',
    500: '#5b58f9',
    950: '#000000',
  },
}
SCSS
$custom: #5b58f9;
$custom-light: #9a88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5b58f9",
  "rgb": {
    "r": 91,
    "g": 88,
    "b": 249
  },
  "hsl": {
    "h": 241.118,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56337,
    "c": 0.23228,
    "h": 276.7
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

primary
#5B58F9
secondary
#F0F1BC
accent
#E600E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5B58F9

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

Preview Lab → · Contrast checker → · Palette generator →

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