#5F57DA#5F57DA

#5F57DA is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.194 H 280.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5F57DA
RGBrgb(95, 87, 218)
HSLhsl(244, 64%, 60%)
HSVhsv(244, 60%, 85%)
CMYKcmyk(56.4%, 60.1%, 0%, 14.5%)
CIE-LABlab(44.67, 39.68, -66.33)
CIE-LCHlch(44.67, 77.29, 300.89°)
OKLaboklab(53.94% 0.0351 -0.1905)
OKLCHoklch(53.94% 0.194 280.4)
XYZxyz(20.7784, 14.3099, 67.9832)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57DA #D2DA57
analogous
#5791DA #5F57DA #A057DA
triadic
#5F57DA #DA5F57 #57DA5F
tetradic
#5F57DA #DA5791 #D2DA57 #57DAA0
square
#5F57DA #DA5791 #D2DA57 #57DAA0
split-complementary
#5F57DA #DAA057 #91DA57
monochromatic
#282196 #362CC8 #5F57DA #8F89E5 #BFBBF0

Accessibility & contrast

On white

5.44
#5F57DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5F57DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57DA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57DA#FFFFFF#000000##FFFFFF
##5F57DA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#1B7790
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f57da;
/* rgb */ color: rgb(95, 87, 218);
/* oklch */ color: oklch(53.9% 0.194 280.4);
Tailwind
colors: {
  custom: {
    50: '#9787e6',
    500: '#5f57da',
    950: '#000000',
  },
}
SCSS
$custom: #5f57da;
$custom-light: #9787e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57da",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 243.664,
    "s": 63.902,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53938,
    "c": 0.19367,
    "h": 280.4
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#5F57DA
secondary
#DDE0AD
accent
#E741DD
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F57DA

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

Preview Lab → · Contrast checker → · Palette generator →

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