#5F57DD#5F57DD

#5F57DD is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.2% C 0.198 H 280.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5F57DD
RGBrgb(95, 87, 221)
HSLhsl(244, 66%, 60%)
HSVhsv(244, 61%, 87%)
CMYKcmyk(57%, 60.6%, 0%, 13.3%)
CIE-LABlab(44.90, 40.62, -67.68)
CIE-LCHlch(44.90, 78.93, 300.97°)
OKLaboklab(54.17% 0.0349 -0.1944)
OKLCHoklch(54.17% 0.198 280.2)
XYZxyz(21.1746, 14.4683, 70.0695)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57DD #D5DD57
analogous
#5792DD #5F57DD #A257DD
triadic
#5F57DD #DD5F57 #57DD5F
tetradic
#5F57DD #DD5792 #D5DD57 #57DDA2
square
#5F57DD #DD5792 #D5DD57 #57DDA2
split-complementary
#5F57DD #DDA257 #92DD57
monochromatic
#271F9A #332ACD #5F57DD #8F8AE7 #C0BDF2

Accessibility & contrast

On white

5.39
#5F57DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5F57DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57DD
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57DD#FFFFFF#000000##FFFFFF
##5F57DD1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#147892
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f57dd;
/* rgb */ color: rgb(95, 87, 221);
/* oklch */ color: oklch(54.2% 0.198 280.2);
Tailwind
colors: {
  custom: {
    50: '#9887e8',
    500: '#5f57dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f57dd;
$custom-light: #9887e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57dd",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 243.582,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54172,
    "c": 0.19754,
    "h": 280.2
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F57DD

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

Preview Lab → · Contrast checker → · Palette generator →

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