#5F57FA#5F57FA

#5F57FA is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.5% C 0.234 H 278.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5F57FA
RGBrgb(95, 87, 250)
HSLhsl(243, 94%, 66%)
HSVhsv(243, 65%, 98%)
CMYKcmyk(62%, 65.2%, 0%, 2%)
CIE-LABlab(47.17, 49.68, -80.30)
CIE-LCHlch(47.17, 94.43, 301.74°)
OKLaboklab(56.54% 0.0326 -0.2315)
OKLCHoklch(56.54% 0.234 278)
XYZxyz(25.3773, 16.1494, 92.2038)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57FA #F2FA57
analogous
#57A0FA #5F57FA #B057FA
triadic
#5F57FA #FA5F57 #57FA5F
tetradic
#5F57FA #FA57A0 #F2FA57 #57FAB0
square
#5F57FA #FA57A0 #F2FA57 #57FAB0
split-complementary
#5F57FA #FAB057 #A0FA57
monochromatic
#1006D0 #261CF8 #5F57FA #9892FC #D0CEFE

Accessibility & contrast

On white

4.96
#5F57FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5F57FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57FA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57FA#FFFFFF#000000##FFFFFF
##5F57FA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0069F7
Tritanopia (blue-blind)
#0081A1
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f57fa;
/* rgb */ color: rgb(95, 87, 250);
/* oklch */ color: oklch(56.5% 0.234 278.0);
Tailwind
colors: {
  custom: {
    50: '#9c87fd',
    500: '#5f57fa',
    950: '#000000',
  },
}
SCSS
$custom: #5f57fa;
$custom-light: #9c87fd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57fa",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 242.945,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56535,
    "c": 0.23379,
    "h": 278
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#5F57FA
secondary
#EFF1BC
accent
#E600DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5F57FA

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

Preview Lab → · Contrast checker → · Palette generator →

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