#5F58DD#5F58DD

#5F58DD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.3% C 0.196 H 280.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5F58DD
RGBrgb(95, 88, 221)
HSLhsl(243, 66%, 61%)
HSVhsv(243, 60%, 87%)
CMYKcmyk(57%, 60.2%, 0%, 13.3%)
CIE-LABlab(45.13, 40.02, -67.31)
CIE-LCHlch(45.13, 78.31, 300.74°)
OKLaboklab(54.34% 0.034 -0.1933)
OKLCHoklch(54.34% 0.196 280)
XYZxyz(21.2561, 14.6314, 70.0966)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58DD #D6DD58
analogous
#5893DD #5F58DD #A158DD
triadic
#5F58DD #DD5F58 #58DD5F
tetradic
#5F58DD #DD5893 #D6DD58 #58DDA1
square
#5F58DD #DD5893 #D6DD58 #58DDA1
split-complementary
#5F58DD #DDA158 #93DD58
monochromatic
#26209B #332ACE #5F58DD #908BE7 #C0BEF2

Accessibility & contrast

On white

5.35
#5F58DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5F58DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58DD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58DD#FFFFFF#000000##FFFFFF
##5F58DD1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#147892
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f58dd;
/* rgb */ color: rgb(95, 88, 221);
/* oklch */ color: oklch(54.3% 0.196 280.0);
Tailwind
colors: {
  custom: {
    50: '#9787e8',
    500: '#5f58dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f58dd;
$custom-light: #9787e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58dd",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 243.158,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54339,
    "c": 0.1963,
    "h": 280
  },
  "luminance": 0.14633
}

Semantic roles & 50–950 ramp

primary
#5F58DD
secondary
#DFE2AF
accent
#CE17C4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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