#5F58F3#5F58F3

#5F58F3 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.1% C 0.224 H 278.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5F58F3
RGBrgb(95, 88, 243)
HSLhsl(243, 87%, 65%)
HSVhsv(243, 64%, 95%)
CMYKcmyk(60.9%, 63.8%, 0%, 4.7%)
CIE-LABlab(46.82, 46.93, -76.96)
CIE-LCHlch(46.82, 90.14, 301.37°)
OKLaboklab(56.11% 0.0325 -0.2217)
OKLCHoklch(56.11% 0.224 278.3)
XYZxyz(24.3815, 15.8815, 86.5573)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58F3 #ECF358
analogous
#589EF3 #5F58F3 #AD58F3
triadic
#5F58F3 #F35F58 #58F35F
tetradic
#5F58F3 #F3589E #ECF358 #58F3AD
square
#5F58F3 #F3589E #ECF358 #58F3AD
split-complementary
#5F58F3 #F3AD58 #9EF358
monochromatic
#160EC3 #281FEF #5F58F3 #9691F7 #CCCAFB

Accessibility & contrast

On white

5.03
#5F58F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5F58F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58F3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58F3#FFFFFF#000000##FFFFFF
##5F58F31.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F8
Deuteranopia (green-blind)
#0069F0
Tritanopia (blue-blind)
#00809E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f58f3;
/* rgb */ color: rgb(95, 88, 243);
/* oklch */ color: oklch(56.1% 0.224 278.3);
Tailwind
colors: {
  custom: {
    50: '#9b88f8',
    500: '#5f58f3',
    950: '#000000',
  },
}
SCSS
$custom: #5f58f3;
$custom-light: #9b88f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58f3",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 243
  },
  "hsl": {
    "h": 242.71,
    "s": 86.592,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56106,
    "c": 0.22408,
    "h": 278.3
  },
  "luminance": 0.15883
}

Semantic roles & 50–950 ramp

primary
#5F58F3
secondary
#EBEEB9
accent
#E302D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F58F3

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

Preview Lab → · Contrast checker → · Palette generator →

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