#5F57DF#5F57DF

#5F57DF is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.3% C 0.200 H 280.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5F57DF
RGBrgb(95, 87, 223)
HSLhsl(244, 68%, 61%)
HSVhsv(244, 61%, 87%)
CMYKcmyk(57.4%, 61%, 0%, 12.5%)
CIE-LABlab(45.05, 41.25, -68.57)
CIE-LCHlch(45.05, 80.02, 301.03°)
OKLaboklab(54.33% 0.0348 -0.197)
OKLCHoklch(54.33% 0.2 280)
XYZxyz(21.4426, 14.5755, 71.4812)
Luminance0.1458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57DF #D7DF57
analogous
#5793DF #5F57DF #A357DF
triadic
#5F57DF #DF5F57 #57DF5F
tetradic
#5F57DF #DF5793 #D7DF57 #57DFA3
square
#5F57DF #DF5793 #D7DF57 #57DFA3
split-complementary
#5F57DF #DFA357 #93DF57
monochromatic
#261E9E #3228D1 #5F57DF #908AE9 #C1BEF3

Accessibility & contrast

On white

5.36
#5F57DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5F57DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57DF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57DF#FFFFFF#000000##FFFFFF
##5F57DF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#0E7893
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f57df;
/* rgb */ color: rgb(95, 87, 223);
/* oklch */ color: oklch(54.3% 0.200 280.0);
Tailwind
colors: {
  custom: {
    50: '#9887ea',
    500: '#5f57df',
    950: '#000000',
  },
}
SCSS
$custom: #5f57df;
$custom-light: #9887ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57df",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 243.529,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54329,
    "c": 0.20011,
    "h": 280
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#5F57DF
secondary
#E0E3AF
accent
#D016C5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F57DF

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

Preview Lab → · Contrast checker → · Palette generator →

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