#5F57ED#5F57ED

#5F57ED is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.5% C 0.218 H 278.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5F57ED
RGBrgb(95, 87, 237)
HSLhsl(243, 81%, 64%)
HSVhsv(243, 63%, 93%)
CMYKcmyk(59.9%, 63.3%, 0%, 7.1%)
CIE-LABlab(46.13, 45.63, -74.73)
CIE-LCHlch(46.13, 87.56, 301.41°)
OKLaboklab(55.45% 0.0339 -0.2151)
OKLCHoklch(55.45% 0.218 278.9)
XYZxyz(23.4087, 15.3620, 81.8359)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57ED #E5ED57
analogous
#579AED #5F57ED #AA57ED
triadic
#5F57ED #ED5F57 #57ED5F
tetradic
#5F57ED #ED579A #E5ED57 #57EDAA
square
#5F57ED #ED579A #E5ED57 #57EDAA
split-complementary
#5F57ED #EDAA57 #9AED57
monochromatic
#1C14B6 #2A20E7 #5F57ED #948EF3 #C8C6F9

Accessibility & contrast

On white

5.16
#5F57ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5F57ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57ED
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57ED#FFFFFF#000000##FFFFFF
##5F57ED1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F2
Deuteranopia (green-blind)
#0067EA
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f57ed;
/* rgb */ color: rgb(95, 87, 237);
/* oklch */ color: oklch(55.5% 0.218 278.9);
Tailwind
colors: {
  custom: {
    50: '#9a87f4',
    500: '#5f57ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f57ed;
$custom-light: #9a87f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57ed",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 243.2,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.21779,
    "h": 278.9
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#5F57ED
secondary
#E8EAB5
accent
#DD09D2
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F57ED

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

Preview Lab → · Contrast checker → · Palette generator →

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