#5F58DE#5F58DE

#5F58DE is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.4% C 0.198 H 279.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5F58DE
RGBrgb(95, 88, 222)
HSLhsl(243, 67%, 61%)
HSVhsv(243, 60%, 87%)
CMYKcmyk(57.2%, 60.4%, 0%, 12.9%)
CIE-LABlab(45.20, 40.34, -67.75)
CIE-LCHlch(45.20, 78.85, 300.77°)
OKLaboklab(54.42% 0.034 -0.1946)
OKLCHoklch(54.42% 0.198 279.9)
XYZxyz(21.3897, 14.6848, 70.8004)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58DE #D7DE58
analogous
#5894DE #5F58DE #A258DE
triadic
#5F58DE #DE5F58 #58DE5F
tetradic
#5F58DE #DE5894 #D7DE58 #58DEA2
square
#5F58DE #DE5894 #D7DE58 #58DEA2
split-complementary
#5F58DE #DEA258 #94DE58
monochromatic
#261F9D #3229D0 #5F58DE #908BE8 #C1BEF2

Accessibility & contrast

On white

5.33
#5F58DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5F58DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58DE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58DE#FFFFFF#000000##FFFFFF
##5F58DE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#117993
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f58de;
/* rgb */ color: rgb(95, 88, 222);
/* oklch */ color: oklch(54.4% 0.198 279.9);
Tailwind
colors: {
  custom: {
    50: '#9887e9',
    500: '#5f58de',
    950: '#000000',
  },
}
SCSS
$custom: #5f58de;
$custom-light: #9887e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58de",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 243.134,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.19759,
    "h": 279.9
  },
  "luminance": 0.14686
}

Semantic roles & 50–950 ramp

primary
#5F58DE
secondary
#E0E2B0
accent
#CF17C5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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