#5F58F4#5F58F4

#5F58F4 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.2% C 0.225 H 278.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5F58F4
RGBrgb(95, 88, 244)
HSLhsl(243, 88%, 65%)
HSVhsv(243, 64%, 96%)
CMYKcmyk(61.1%, 63.9%, 0%, 4.3%)
CIE-LABlab(46.90, 47.24, -77.39)
CIE-LCHlch(46.90, 90.67, 301.40°)
OKLaboklab(56.19% 0.0325 -0.223)
OKLCHoklch(56.19% 0.225 278.3)
XYZxyz(24.5329, 15.9421, 87.3547)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58F4 #EDF458
analogous
#589FF4 #5F58F4 #AD58F4
triadic
#5F58F4 #F45F58 #58F45F
tetradic
#5F58F4 #F4589F #EDF458 #58F4AD
square
#5F58F4 #F4589F #EDF458 #58F4AD
split-complementary
#5F58F4 #F4AD58 #9FF458
monochromatic
#150DC5 #281FF0 #5F58F4 #9691F8 #CDCBFC

Accessibility & contrast

On white

5.01
#5F58F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#5F58F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58F4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58F4#FFFFFF#000000##FFFFFF
##5F58F41.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F9
Deuteranopia (green-blind)
#0069F1
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f58f4;
/* rgb */ color: rgb(95, 88, 244);
/* oklch */ color: oklch(56.2% 0.225 278.3);
Tailwind
colors: {
  custom: {
    50: '#9b88f9',
    500: '#5f58f4',
    950: '#000000',
  },
}
SCSS
$custom: #5f58f4;
$custom-light: #9b88f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58f4",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 244
  },
  "hsl": {
    "h": 242.692,
    "s": 87.64,
    "l": 65.098
  },
  "oklch": {
    "l": 0.56189,
    "c": 0.22532,
    "h": 278.3
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#5F58F4
secondary
#ECEEB9
accent
#E401DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #5F58F4

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

Preview Lab → · Contrast checker → · Palette generator →

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