#5F58F0#5F58F0

#5F58F0 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.220 H 278.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5F58F0
RGBrgb(95, 88, 240)
HSLhsl(243, 84%, 64%)
HSVhsv(243, 63%, 94%)
CMYKcmyk(60.4%, 63.3%, 0%, 5.9%)
CIE-LABlab(46.58, 45.99, -75.67)
CIE-LCHlch(46.58, 88.55, 301.29°)
OKLaboklab(55.86% 0.0328 -0.2179)
OKLCHoklch(55.86% 0.22 278.6)
XYZxyz(23.9322, 15.7018, 84.1908)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58F0 #E9F058
analogous
#589DF0 #5F58F0 #AB58F0
triadic
#5F58F0 #F05F58 #58F05F
tetradic
#5F58F0 #F0589D #E9F058 #58F0AB
square
#5F58F0 #F0589D #E9F058 #58F0AB
split-complementary
#5F58F0 #F0AB58 #9DF058
monochromatic
#1911BD #2920EB #5F58F0 #9590F5 #CBC8FA

Accessibility & contrast

On white

5.07
#5F58F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5F58F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58F0
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58F0#FFFFFF#000000##FFFFFF
##5F58F01.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F5
Deuteranopia (green-blind)
#0068ED
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f58f0;
/* rgb */ color: rgb(95, 88, 240);
/* oklch */ color: oklch(55.9% 0.220 278.6);
Tailwind
colors: {
  custom: {
    50: '#9b88f6',
    500: '#5f58f0',
    950: '#000000',
  },
}
SCSS
$custom: #5f58f0;
$custom-light: #9b88f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58f0",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 240
  },
  "hsl": {
    "h": 242.763,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.55859,
    "c": 0.22036,
    "h": 278.6
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#5F58F0
secondary
#EAECB8
accent
#E006D6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F58F0

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

Preview Lab → · Contrast checker → · Palette generator →

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