#5F57DC#5F57DC

#5F57DC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.1% C 0.196 H 280.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5F57DC
RGBrgb(95, 87, 220)
HSLhsl(244, 66%, 60%)
HSVhsv(244, 60%, 86%)
CMYKcmyk(56.8%, 60.5%, 0%, 13.7%)
CIE-LABlab(44.82, 40.30, -67.23)
CIE-LCHlch(44.82, 78.38, 300.94°)
OKLaboklab(54.09% 0.035 -0.1931)
OKLCHoklch(54.09% 0.196 280.3)
XYZxyz(21.0417, 14.4152, 69.3699)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57DC #D4DC57
analogous
#5791DC #5F57DC #A157DC
triadic
#5F57DC #DC5F57 #57DC5F
tetradic
#5F57DC #DC5791 #D4DC57 #57DCA1
square
#5F57DC #DC5791 #D4DC57 #57DCA1
split-complementary
#5F57DC #DCA157 #91DC57
monochromatic
#272099 #342ACB #5F57DC #8F8AE7 #BFBCF1

Accessibility & contrast

On white

5.41
#5F57DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5F57DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57DC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57DC#FFFFFF#000000##FFFFFF
##5F57DC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0065D9
Tritanopia (blue-blind)
#177791
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f57dc;
/* rgb */ color: rgb(95, 87, 220);
/* oklch */ color: oklch(54.1% 0.196 280.3);
Tailwind
colors: {
  custom: {
    50: '#9787e8',
    500: '#5f57dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f57dc;
$custom-light: #9787e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57dc",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 243.609,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54094,
    "c": 0.19625,
    "h": 280.3
  },
  "luminance": 0.14417
}

Semantic roles & 50–950 ramp

primary
#5F57DC
secondary
#DEE1AE
accent
#CD18C2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F57DC

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

Preview Lab → · Contrast checker → · Palette generator →

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