#5F57CE#5F57CE

#5F57CE is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.178 H 281.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5F57CE
RGBrgb(95, 87, 206)
HSLhsl(244, 55%, 57%)
HSVhsv(244, 58%, 81%)
CMYKcmyk(53.9%, 57.8%, 0%, 19.2%)
CIE-LABlab(43.81, 35.92, -60.86)
CIE-LCHlch(43.81, 70.67, 300.55°)
OKLaboklab(53.02% 0.0354 -0.1744)
OKLCHoklch(53.02% 0.178 281.5)
XYZxyz(19.2646, 13.7044, 60.0106)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57CE #C6CE57
analogous
#578ACE #5F57CE #9B57CE
triadic
#5F57CE #CE5F57 #57CE5F
tetradic
#5F57CE #CE578A #C6CE57 #57CE9B
square
#5F57CE #CE578A #C6CE57 #57CE9B
split-complementary
#5F57CE #CE9B57 #8ACE57
monochromatic
#2D2784 #3D34B3 #5F57CE #8C86DC #B9B6EA

Accessibility & contrast

On white

5.61
#5F57CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5F57CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57CE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57CE#FFFFFF#000000##FFFFFF
##5F57CE1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#2D738A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f57ce;
/* rgb */ color: rgb(95, 87, 206);
/* oklch */ color: oklch(53.0% 0.178 281.5);
Tailwind
colors: {
  custom: {
    50: '#9587de',
    500: '#5f57ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f57ce;
$custom-light: #9587de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57ce",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 244.034,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.17795,
    "h": 281.5
  },
  "luminance": 0.13706
}

Semantic roles & 50–950 ramp

primary
#5F57CE
secondary
#D5D8A8
accent
#DE4AD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5F57CE

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

Preview Lab → · Contrast checker → · Palette generator →

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