#5F57FF#5F57FF

#5F57FF is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 57.0% C 0.240 H 277.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5F57FF
RGBrgb(95, 87, 255)
HSLhsl(243, 100%, 67%)
HSVhsv(243, 66%, 100%)
CMYKcmyk(62.7%, 65.9%, 0%, 0%)
CIE-LABlab(47.58, 51.23, -82.41)
CIE-LCHlch(47.58, 97.04, 301.87°)
OKLaboklab(56.96% 0.0321 -0.2377)
OKLCHoklch(56.96% 0.24 277.7)
XYZxyz(26.1717, 16.4672, 96.3876)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57FF #F7FF57
analogous
#57A3FF #5F57FF #B357FF
triadic
#5F57FF #FF5F57 #57FF5F
tetradic
#5F57FF #FF57A3 #F7FF57 #57FFB3
square
#5F57FF #FF57A3 #F7FF57 #57FFB3
split-complementary
#5F57FF #FFB357 #A3FF57
monochromatic
#0A00DC #251AFF #5F57FF #9994FF #D4D1FF

Accessibility & contrast

On white

4.89
#5F57FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5F57FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57FF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57FF#FFFFFF#000000##FFFFFF
##5F57FF1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006AFC
Tritanopia (blue-blind)
#0083A4
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f57ff;
/* rgb */ color: rgb(95, 87, 255);
/* oklch */ color: oklch(57.0% 0.240 277.7);
Tailwind
colors: {
  custom: {
    50: '#9d87ff',
    500: '#5f57ff',
    950: '#000000',
  },
}
SCSS
$custom: #5f57ff;
$custom-light: #9d87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57ff",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 255
  },
  "hsl": {
    "h": 242.857,
    "s": 100,
    "l": 67.059
  },
  "oklch": {
    "l": 0.5696,
    "c": 0.23983,
    "h": 277.7
  },
  "luminance": 0.16469
}

Semantic roles & 50–950 ramp

primary
#5F57FF
secondary
#F1F4BE
accent
#E600DB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5F57FF

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

Preview Lab → · Contrast checker → · Palette generator →

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