#5F58F9#5F58F9

#5F58F9 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.6% C 0.231 H 277.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5F58F9
RGBrgb(95, 88, 249)
HSLhsl(243, 93%, 66%)
HSVhsv(243, 65%, 98%)
CMYKcmyk(61.8%, 64.7%, 0%, 2.4%)
CIE-LABlab(47.30, 48.80, -79.53)
CIE-LCHlch(47.30, 93.31, 301.53°)
OKLaboklab(56.61% 0.032 -0.2292)
OKLCHoklch(56.61% 0.231 277.9)
XYZxyz(25.3024, 16.2499, 91.4073)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F58F9 #F2F958
analogous
#58A1F9 #5F58F9 #AF58F9
triadic
#5F58F9 #F95F58 #58F95F
tetradic
#5F58F9 #F958A1 #F2F958 #58F9AF
square
#5F58F9 #F958A1 #F2F958 #58F9AF
split-complementary
#5F58F9 #F9AF58 #A1F958
monochromatic
#1007CF #261DF7 #5F58F9 #9893FB #D0CEFD

Accessibility & contrast

On white

4.94
#5F58F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5F58F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F58F9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F58F9#FFFFFF#000000##FFFFFF
##5F58F91.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FE
Deuteranopia (green-blind)
#0069F6
Tritanopia (blue-blind)
#0082A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f58f9;
/* rgb */ color: rgb(95, 88, 249);
/* oklch */ color: oklch(56.6% 0.231 277.9);
Tailwind
colors: {
  custom: {
    50: '#9c88fc',
    500: '#5f58f9',
    950: '#000000',
  },
}
SCSS
$custom: #5f58f9;
$custom-light: #9c88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f58f9",
  "rgb": {
    "r": 95,
    "g": 88,
    "b": 249
  },
  "hsl": {
    "h": 242.609,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.23145,
    "h": 277.9
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

primary
#5F58F9
secondary
#EFF1BC
accent
#E600DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5F58F9

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

Preview Lab → · Contrast checker → · Palette generator →

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