#5F58EF#5F58EF

#5F58EF is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.8% C 0.219 H 278.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5F58EF
RGBrgb(95, 88, 239)
HSLhsl(243, 83%, 64%)
HSVhsv(243, 63%, 94%)
CMYKcmyk(60.3%, 63.2%, 0%, 6.3%)
CIE-LABlab(46.50, 45.67, -75.24)
CIE-LCHlch(46.50, 88.02, 301.26°)
OKLaboklab(55.78% 0.0329 -0.2166)
OKLCHoklch(55.78% 0.219 278.6)
XYZxyz(23.7840, 15.6425, 83.4106)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58EF #E8EF58
analogous
#589DEF #5F58EF #AA58EF
triadic
#5F58EF #EF5F58 #58EF5F
tetradic
#5F58EF #EF589D #E8EF58 #58EFAA
square
#5F58EF #EF589D #E8EF58 #58EFAA
split-complementary
#5F58EF #EFAA58 #9DEF58
monochromatic
#1A12BB #2920EA #5F58EF #9590F4 #CAC8FA

Accessibility & contrast

On white

5.09
#5F58EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5F58EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58EF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58EF#FFFFFF#000000##FFFFFF
##5F58EF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f58ef;
/* rgb */ color: rgb(95, 88, 239);
/* oklch */ color: oklch(55.8% 0.219 278.6);
Tailwind
colors: {
  custom: {
    50: '#9a88f5',
    500: '#5f58ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f58ef;
$custom-light: #9a88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58ef",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 242.781,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55777,
    "c": 0.21912,
    "h": 278.6
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#5F58EF
secondary
#E9ECB7
accent
#DF07D5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F58EF

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

Preview Lab → · Contrast checker → · Palette generator →

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