#5768E5#5768E5

#5768E5 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.2% C 0.189 H 273.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5768E5
RGBrgb(87, 104, 229)
HSLhsl(233, 73%, 62%)
HSVhsv(233, 62%, 90%)
CMYKcmyk(62%, 54.6%, 0%, 10.2%)
CIE-LABlab(48.99, 31.55, -65.60)
CIE-LCHlch(48.99, 72.79, 295.69°)
OKLaboklab(57.25% 0.0102 -0.1884)
OKLCHoklch(57.25% 0.189 273.1)
XYZxyz(23.0190, 17.5821, 76.2942)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768E5 #E5D457
analogous
#57AFE5 #5768E5 #8D57E5
triadic
#5768E5 #E55768 #68E557
tetradic
#5768E5 #E557AF #E5D457 #57E58D
square
#5768E5 #E557AF #E5D457 #57E58D
split-complementary
#5768E5 #E58D57 #AFE557
monochromatic
#1A2BA8 #2238DD #5768E5 #8C98ED #C1C7F5

Accessibility & contrast

On white

4.65
#5768E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5768E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5768E5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768E5#FFFFFF#000000##FFFFFF
##5768E51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#006EE2
Tritanopia (blue-blind)
#00869C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5768e5;
/* rgb */ color: rgb(87, 104, 229);
/* oklch */ color: oklch(57.2% 0.189 273.1);
Tailwind
colors: {
  custom: {
    50: '#9493ee',
    500: '#5768e5',
    950: '#000000',
  },
}
SCSS
$custom: #5768e5;
$custom-light: #9493ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5768e5",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 232.817,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57246,
    "c": 0.18865,
    "h": 273.1
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#5768E5
secondary
#E6E0B2
accent
#BE10D5
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5768E5

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

Preview Lab → · Contrast checker → · Palette generator →

#5768E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva