#5F58E8#5F58E8

#5F58E8 is a mid, highly saturated blue. Relative luminance 0.152; OKLCH L 55.2% C 0.210 H 279.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5F58E8
RGBrgb(95, 88, 232)
HSLhsl(243, 76%, 63%)
HSVhsv(243, 62%, 91%)
CMYKcmyk(59.1%, 62.1%, 0%, 9%)
CIE-LABlab(45.96, 43.48, -72.18)
CIE-LCHlch(45.96, 84.27, 301.06°)
OKLaboklab(55.21% 0.0334 -0.2077)
OKLCHoklch(55.21% 0.21 279.1)
XYZxyz(22.7699, 15.2369, 78.0694)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58E8 #E1E858
analogous
#5899E8 #5F58E8 #A758E8
triadic
#5F58E8 #E85F58 #58E85F
tetradic
#5F58E8 #E85899 #E1E858 #58E8A7
square
#5F58E8 #E85899 #E1E858 #58E8A7
split-complementary
#5F58E8 #E8A758 #99E858
monochromatic
#1F18AE #2B22E1 #5F58E8 #938EEF #C6C4F7

Accessibility & contrast

On white

5.19
#5F58E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#5F58E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58E8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58E8#FFFFFF#000000##FFFFFF
##5F58E81.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f58e8;
/* rgb */ color: rgb(95, 88, 232);
/* oklch */ color: oklch(55.2% 0.210 279.1);
Tailwind
colors: {
  custom: {
    50: '#9988f0',
    500: '#5f58e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f58e8;
$custom-light: #9988f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58e8",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 242.917,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55209,
    "c": 0.21034,
    "h": 279.1
  },
  "luminance": 0.15239
}

Semantic roles & 50–950 ramp

primary
#5F58E8
secondary
#E5E8B4
accent
#D80ECE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F58E8

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

Preview Lab → · Contrast checker → · Palette generator →

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