#5F58E4#5F58E4

#5F58E4 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.9% C 0.205 H 279.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5F58E4
RGBrgb(95, 88, 228)
HSLhsl(243, 72%, 62%)
HSVhsv(243, 61%, 89%)
CMYKcmyk(58.3%, 61.4%, 0%, 10.6%)
CIE-LABlab(45.65, 42.22, -70.42)
CIE-LCHlch(45.65, 82.11, 300.95°)
OKLaboklab(54.89% 0.0337 -0.2025)
OKLCHoklch(54.89% 0.205 279.4)
XYZxyz(22.2082, 15.0122, 75.1111)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58E4 #DDE458
analogous
#5897E4 #5F58E4 #A558E4
triadic
#5F58E4 #E45F58 #58E45F
tetradic
#5F58E4 #E45897 #DDE458 #58E4A5
square
#5F58E4 #E45897 #DDE458 #58E4A5
split-complementary
#5F58E4 #E4A558 #97E458
monochromatic
#221BA7 #2D23DB #5F58E4 #918DED #C4C1F5

Accessibility & contrast

On white

5.25
#5F58E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5F58E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58E4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58E4#FFFFFF#000000##FFFFFF
##5F58E41.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#0067E1
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f58e4;
/* rgb */ color: rgb(95, 88, 228);
/* oklch */ color: oklch(54.9% 0.205 279.4);
Tailwind
colors: {
  custom: {
    50: '#9988ed',
    500: '#5f58e4',
    950: '#000000',
  },
}
SCSS
$custom: #5f58e4;
$custom-light: #9988ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58e4",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 243,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5489,
    "c": 0.20527,
    "h": 279.4
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#5F58E4
secondary
#E3E6B2
accent
#D411CA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F58E4

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

Preview Lab → · Contrast checker → · Palette generator →

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