#5F57E8#5F57E8

#5F57E8 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.0% C 0.212 H 279.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5F57E8
RGBrgb(95, 87, 232)
HSLhsl(243, 76%, 63%)
HSVhsv(243, 63%, 91%)
CMYKcmyk(59.1%, 62.5%, 0%, 9%)
CIE-LABlab(45.74, 44.06, -72.55)
CIE-LCHlch(45.74, 84.88, 301.27°)
OKLaboklab(55.05% 0.0343 -0.2087)
OKLCHoklch(55.05% 0.212 279.3)
XYZxyz(22.6884, 15.0738, 78.0422)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F57E8 #E0E857
analogous
#5798E8 #5F57E8 #A757E8
triadic
#5F57E8 #E85F57 #57E85F
tetradic
#5F57E8 #E85798 #E0E857 #57E8A7
square
#5F57E8 #E85798 #E0E857 #57E8A7
split-complementary
#5F57E8 #E8A757 #98E857
monochromatic
#2018AD #2C21E1 #5F57E8 #928DEF #C6C3F7

Accessibility & contrast

On white

5.23
#5F57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5F57E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F57E8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F57E8#FFFFFF#000000##FFFFFF
##5F57E81.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f57e8;
/* rgb */ color: rgb(95, 87, 232);
/* oklch */ color: oklch(55.0% 0.212 279.3);
Tailwind
colors: {
  custom: {
    50: '#9987f0',
    500: '#5f57e8',
    950: '#000000',
  },
}
SCSS
$custom: #5f57e8;
$custom-light: #9987f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f57e8",
  "rgb": {
    "r": 95,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 243.31,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55047,
    "c": 0.21153,
    "h": 279.3
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#5F57E8
secondary
#E5E8B3
accent
#D80DCD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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