#5757EB#5757EB

#5757EB is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.7% C 0.217 H 276.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5757EB
RGBrgb(87, 87, 235)
HSLhsl(240, 79%, 63%)
HSVhsv(240, 63%, 92%)
CMYKcmyk(63%, 63%, 0%, 7.8%)
CIE-LABlab(45.41, 43.81, -74.79)
CIE-LCHlch(45.41, 86.67, 300.36°)
OKLaboklab(54.74% 0.0245 -0.2155)
OKLCHoklch(54.74% 0.217 276.5)
XYZxyz(22.3292, 14.8389, 80.2687)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5757EB #EBEB57
analogous
#57A1EB #5757EB #A157EB
triadic
#5757EB #EB5757 #57EB57
tetradic
#5757EB #EB57A1 #EBEB57 #57EBA1
square
#5757EB #EB57A1 #EBEB57 #57EBA1
split-complementary
#5757EB #EBA157 #A1EB57
monochromatic
#1515B2 #2020E4 #5757EB #8E8EF2 #C4C4F8

Accessibility & contrast

On white

5.29
#5757EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5757EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5757EB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5757EB#FFFFFF#000000##FFFFFF
##5757EB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#0065E8
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5757eb;
/* rgb */ color: rgb(87, 87, 235);
/* oklch */ color: oklch(54.7% 0.217 276.5);
Tailwind
colors: {
  custom: {
    50: '#9687f3',
    500: '#5757eb',
    950: '#000000',
  },
}
SCSS
$custom: #5757eb;
$custom-light: #9687f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5757eb",
  "rgb": {
    "r": 87,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54742,
    "c": 0.21693,
    "h": 276.5
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#5757EB
secondary
#E9E9B4
accent
#DB0ADB
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5757EB

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

Preview Lab → · Contrast checker → · Palette generator →

#5757EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva