#5E58F1#5E58F1

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

Color values

HEX#5E58F1
RGBrgb(94, 88, 241)
HSLhsl(242, 85%, 65%)
HSVhsv(242, 63%, 95%)
CMYKcmyk(61%, 63.5%, 0%, 5.5%)
CIE-LABlab(46.59, 46.15, -76.22)
CIE-LCHlch(46.59, 89.10, 301.19°)
OKLaboklab(55.87% 0.0315 -0.2195)
OKLCHoklch(55.87% 0.222 278.2)
XYZxyz(23.9779, 15.7082, 84.9704)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E58F1 #EBF158
analogous
#589FF1 #5E58F1 #AB58F1
triadic
#5E58F1 #F15E58 #58F15E
tetradic
#5E58F1 #F1589F #EBF158 #58F1AB
square
#5E58F1 #F1589F #EBF158 #58F1AB
split-complementary
#5E58F1 #F1AB58 #9FF158
monochromatic
#1710BF #2820EC #5E58F1 #9490F6 #CBC9FA

Accessibility & contrast

On white

5.07
#5E58F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5E58F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E58F1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E58F1#FFFFFF#000000##FFFFFF
##5E58F11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F6
Deuteranopia (green-blind)
#0068EE
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e58f1;
/* rgb */ color: rgb(94, 88, 241);
/* oklch */ color: oklch(55.9% 0.222 278.2);
Tailwind
colors: {
  custom: {
    50: '#9a88f7',
    500: '#5e58f1',
    950: '#000000',
  },
}
SCSS
$custom: #5e58f1;
$custom-light: #9a88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e58f1",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 242.353,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.2218,
    "h": 278.2
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#5E58F1
secondary
#EBEDB8
accent
#E105D8
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E58F1

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

Preview Lab → · Contrast checker → · Palette generator →

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