#5F58F1#5F58F1

#5F58F1 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.222 H 278.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5F58F1
RGBrgb(95, 88, 241)
HSLhsl(243, 85%, 65%)
HSVhsv(243, 63%, 95%)
CMYKcmyk(60.6%, 63.5%, 0%, 5.5%)
CIE-LABlab(46.66, 46.30, -76.10)
CIE-LCHlch(46.66, 89.08, 301.32°)
OKLaboklab(55.94% 0.0327 -0.2192)
OKLCHoklch(55.94% 0.222 278.5)
XYZxyz(24.0811, 15.7614, 84.9753)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58F1 #EAF158
analogous
#589EF1 #5F58F1 #AC58F1
triadic
#5F58F1 #F15F58 #58F15F
tetradic
#5F58F1 #F1589E #EAF158 #58F1AC
square
#5F58F1 #F1589E #EAF158 #58F1AC
split-complementary
#5F58F1 #F1AC58 #9EF158
monochromatic
#1810BF #2920EC #5F58F1 #9590F6 #CBC9FA

Accessibility & contrast

On white

5.06
#5F58F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5F58F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58F1
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58F1#FFFFFF#000000##FFFFFF
##5F58F11.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F6
Deuteranopia (green-blind)
#0068EE
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5f58f1;
/* rgb */ color: rgb(95, 88, 241);
/* oklch */ color: oklch(55.9% 0.222 278.5);
Tailwind
colors: {
  custom: {
    50: '#9b88f7',
    500: '#5f58f1',
    950: '#000000',
  },
}
SCSS
$custom: #5f58f1;
$custom-light: #9b88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58f1",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 242.745,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.22161,
    "h": 278.5
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

primary
#5F58F1
secondary
#EAEDB8
accent
#E105D7
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F58F1

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

Preview Lab → · Contrast checker → · Palette generator →

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