#5E58F9#5E58F9

#5E58F9 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.5% C 0.232 H 277.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5E58F9
RGBrgb(94, 88, 249)
HSLhsl(242, 93%, 66%)
HSVhsv(242, 65%, 98%)
CMYKcmyk(62.2%, 64.7%, 0%, 2.4%)
CIE-LABlab(47.23, 48.66, -79.65)
CIE-LCHlch(47.23, 93.33, 301.42°)
OKLaboklab(56.54% 0.0308 -0.2296)
OKLCHoklch(56.54% 0.232 277.6)
XYZxyz(25.1992, 16.1967, 91.4025)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58F9 #F3F958
analogous
#58A2F9 #5E58F9 #AE58F9
triadic
#5E58F9 #F95E58 #58F95E
tetradic
#5E58F9 #F958A2 #F3F958 #58F9AE
square
#5E58F9 #F958A2 #F3F958 #58F9AE
split-complementary
#5E58F9 #F9AE58 #A2F958
monochromatic
#0F07CF #251DF7 #5E58F9 #9793FB #D0CEFD

Accessibility & contrast

On white

4.95
#5E58F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5E58F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58F9
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58F9#FFFFFF#000000##FFFFFF
##5E58F91.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FE
Deuteranopia (green-blind)
#0069F6
Tritanopia (blue-blind)
#0082A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e58f9;
/* rgb */ color: rgb(94, 88, 249);
/* oklch */ color: oklch(56.5% 0.232 277.6);
Tailwind
colors: {
  custom: {
    50: '#9c88fc',
    500: '#5e58f9',
    950: '#000000',
  },
}
SCSS
$custom: #5e58f9;
$custom-light: #9c88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58f9",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 249
  },
  "hsl": {
    "h": 242.236,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.23165,
    "h": 277.6
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#5E58F9
secondary
#EFF1BC
accent
#E600DD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5E58F9

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

Preview Lab → · Contrast checker → · Palette generator →

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