#5F58ED#5F58ED

#5F58ED is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 55.6% C 0.217 H 278.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5F58ED
RGBrgb(95, 88, 237)
HSLhsl(243, 81%, 64%)
HSVhsv(243, 63%, 93%)
CMYKcmyk(59.9%, 62.9%, 0%, 7.1%)
CIE-LABlab(46.34, 45.05, -74.37)
CIE-LCHlch(46.34, 86.95, 301.20°)
OKLaboklab(55.61% 0.033 -0.2141)
OKLCHoklch(55.61% 0.217 278.8)
XYZxyz(23.4902, 15.5250, 81.8631)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58ED #E6ED58
analogous
#589BED #5F58ED #A958ED
triadic
#5F58ED #ED5F58 #58ED5F
tetradic
#5F58ED #ED589B #E6ED58 #58EDA9
square
#5F58ED #ED589B #E6ED58 #58EDA9
split-complementary
#5F58ED #EDA958 #9BED58
monochromatic
#1B14B7 #2A21E7 #5F58ED #948FF3 #C9C6F9

Accessibility & contrast

On white

5.12
#5F58ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5F58ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58ED
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58ED#FFFFFF#000000##FFFFFF
##5F58ED1.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#0068EA
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f58ed;
/* rgb */ color: rgb(95, 88, 237);
/* oklch */ color: oklch(55.6% 0.217 278.8);
Tailwind
colors: {
  custom: {
    50: '#9a88f4',
    500: '#5f58ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f58ed;
$custom-light: #9a88f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58ed",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 242.819,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.21662,
    "h": 278.8
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#5F58ED
secondary
#E8EBB6
accent
#DD09D3
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F58ED

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

Preview Lab → · Contrast checker → · Palette generator →

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