#5768E7#5768E7

#5768E7 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.4% C 0.191 H 273.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5768E7
RGBrgb(87, 104, 231)
HSLhsl(233, 75%, 62%)
HSVhsv(233, 62%, 91%)
CMYKcmyk(62.3%, 55%, 0%, 9.4%)
CIE-LABlab(49.12, 32.22, -66.50)
CIE-LCHlch(49.12, 73.89, 295.85°)
OKLaboklab(57.39% 0.0102 -0.191)
OKLCHoklch(57.39% 0.191 273.1)
XYZxyz(23.2998, 17.6944, 77.7733)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768E7 #E7D657
analogous
#57B0E7 #5768E7 #8E57E7
triadic
#5768E7 #E75768 #68E757
tetradic
#5768E7 #E757B0 #E7D657 #57E78E
square
#5768E7 #E757B0 #E7D657 #57E78E
split-complementary
#5768E7 #E78E57 #B0E757
monochromatic
#182AAB #2138DF #5768E7 #8D98EF #C2C8F6

Accessibility & contrast

On white

4.63
#5768E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5768E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5768E7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768E7#FFFFFF#000000##FFFFFF
##5768E71.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#00869D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5768e7;
/* rgb */ color: rgb(87, 104, 231);
/* oklch */ color: oklch(57.4% 0.191 273.1);
Tailwind
colors: {
  custom: {
    50: '#9493ef',
    500: '#5768e7',
    950: '#000000',
  },
}
SCSS
$custom: #5768e7;
$custom-light: #9493ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5768e7",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 232.917,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.57393,
    "c": 0.19131,
    "h": 273.1
  },
  "luminance": 0.17696
}

Semantic roles & 50–950 ramp

primary
#5768E7
secondary
#E7E1B3
accent
#BF0ED7
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5768E7

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

Preview Lab → · Contrast checker → · Palette generator →

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