#5F58EE#5F58EE

#5F58EE is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.7% C 0.218 H 278.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5F58EE
RGBrgb(95, 88, 238)
HSLhsl(243, 82%, 64%)
HSVhsv(243, 63%, 93%)
CMYKcmyk(60.1%, 63%, 0%, 6.7%)
CIE-LABlab(46.42, 45.36, -74.80)
CIE-LCHlch(46.42, 87.48, 301.23°)
OKLaboklab(55.69% 0.033 -0.2154)
OKLCHoklch(55.69% 0.218 278.7)
XYZxyz(23.6367, 15.5836, 82.6347)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58EE #E7EE58
analogous
#589CEE #5F58EE #AA58EE
triadic
#5F58EE #EE5F58 #58EE5F
tetradic
#5F58EE #EE589C #E7EE58 #58EEAA
square
#5F58EE #EE589C #E7EE58 #58EEAA
split-complementary
#5F58EE #EEAA58 #9CEE58
monochromatic
#1B13B9 #2A20E8 #5F58EE #9490F4 #C9C7F9

Accessibility & contrast

On white

5.10
#5F58EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5F58EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58EE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58EE#FFFFFF#000000##FFFFFF
##5F58EE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#0068EB
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f58ee;
/* rgb */ color: rgb(95, 88, 238);
/* oklch */ color: oklch(55.7% 0.218 278.7);
Tailwind
colors: {
  custom: {
    50: '#9a88f5',
    500: '#5f58ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f58ee;
$custom-light: #9a88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58ee",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 242.8,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55695,
    "c": 0.21787,
    "h": 278.7
  },
  "luminance": 0.15585
}

Semantic roles & 50–950 ramp

primary
#5F58EE
secondary
#E9EBB7
accent
#DE08D4
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F58EE

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

Preview Lab → · Contrast checker → · Palette generator →

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