#5F57DE#5F57DE

#5F57DE is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.3% C 0.199 H 280.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5F57DE
RGBrgb(95, 87, 222)
HSLhsl(244, 67%, 61%)
HSVhsv(244, 61%, 87%)
CMYKcmyk(57.2%, 60.8%, 0%, 12.9%)
CIE-LABlab(44.97, 40.93, -68.12)
CIE-LCHlch(44.97, 79.47, 301.00°)
OKLaboklab(54.25% 0.0349 -0.1957)
OKLCHoklch(54.25% 0.199 280.1)
XYZxyz(21.3082, 14.5218, 70.7732)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57DE #D6DE57
analogous
#5792DE #5F57DE #A357DE
triadic
#5F57DE #DE5F57 #57DE5F
tetradic
#5F57DE #DE5792 #D6DE57 #57DEA3
square
#5F57DE #DE5792 #D6DE57 #57DEA3
split-complementary
#5F57DE #DEA357 #92DE57
monochromatic
#261F9C #3329CF #5F57DE #908AE8 #C0BDF2

Accessibility & contrast

On white

5.38
#5F57DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5F57DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57DE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57DE#FFFFFF#000000##FFFFFF
##5F57DE1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0065DB
Tritanopia (blue-blind)
#117892
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f57de;
/* rgb */ color: rgb(95, 87, 222);
/* oklch */ color: oklch(54.3% 0.199 280.1);
Tailwind
colors: {
  custom: {
    50: '#9887e9',
    500: '#5f57de',
    950: '#000000',
  },
}
SCSS
$custom: #5f57de;
$custom-light: #9887e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57de",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 243.556,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5425,
    "c": 0.19883,
    "h": 280.1
  },
  "luminance": 0.14523
}

Semantic roles & 50–950 ramp

primary
#5F57DE
secondary
#DFE2AF
accent
#CF16C4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5F57DE

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

Preview Lab → · Contrast checker → · Palette generator →

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