#5F58CE#5F58CE

#5F58CE is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.177 H 281.2°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5F58CE
RGBrgb(95, 88, 206)
HSLhsl(244, 55%, 58%)
HSVhsv(244, 57%, 81%)
CMYKcmyk(53.9%, 57.3%, 0%, 19.2%)
CIE-LABlab(44.04, 35.32, -60.48)
CIE-LCHlch(44.04, 70.04, 300.28°)
OKLaboklab(53.2% 0.0344 -0.1733)
OKLCHoklch(53.2% 0.177 281.2)
XYZxyz(19.3462, 13.8674, 60.0378)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58CE #C7CE58
analogous
#588CCE #5F58CE #9A58CE
triadic
#5F58CE #CE5F58 #58CE5F
tetradic
#5F58CE #CE588C #C7CE58 #58CE9A
square
#5F58CE #CE588C #C7CE58 #58CE9A
split-complementary
#5F58CE #CE9A58 #8CCE58
monochromatic
#2C2785 #3C35B4 #5F58CE #8C87DC #BAB7EA

Accessibility & contrast

On white

5.56
#5F58CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5F58CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58CE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58CE#FFFFFF#000000##FFFFFF
##5F58CE1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#2D738A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f58ce;
/* rgb */ color: rgb(95, 88, 206);
/* oklch */ color: oklch(53.2% 0.177 281.2);
Tailwind
colors: {
  custom: {
    50: '#9587de',
    500: '#5f58ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f58ce;
$custom-light: #9587de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58ce",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 243.559,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53199,
    "c": 0.17664,
    "h": 281.2
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#5F58CE
secondary
#D6D9A9
accent
#DE4AD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F58CE

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

Preview Lab → · Contrast checker → · Palette generator →

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