#5768E4#5768E4

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

Color values

HEX#5768E4
RGBrgb(87, 104, 228)
HSLhsl(233, 72%, 62%)
HSVhsv(233, 62%, 89%)
CMYKcmyk(61.8%, 54.4%, 0%, 10.6%)
CIE-LABlab(48.92, 31.22, -65.14)
CIE-LCHlch(48.92, 72.24, 295.61°)
OKLaboklab(57.17% 0.0101 -0.187)
OKLCHoklch(57.17% 0.187 273.1)
XYZxyz(22.8797, 17.5264, 75.5610)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768E4 #E4D357
analogous
#57AFE4 #5768E4 #8D57E4
triadic
#5768E4 #E45768 #68E457
tetradic
#5768E4 #E457AF #E4D357 #57E48D
square
#5768E4 #E457AF #E4D357 #57E48D
split-complementary
#5768E4 #E48D57 #AFE457
monochromatic
#1B2BA6 #2339DB #5768E4 #8C97EC #C0C7F5

Accessibility & contrast

On white

4.66
#5768E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5768E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5768E4
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768E4#FFFFFF#000000##FFFFFF
##5768E41.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#047BE8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5768e4;
/* rgb */ color: rgb(87, 104, 228);
/* oklch */ color: oklch(57.2% 0.187 273.1);
Tailwind
colors: {
  custom: {
    50: '#9493ed',
    500: '#5768e4',
    950: '#000000',
  },
}
SCSS
$custom: #5768e4;
$custom-light: #9493ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5768e4",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 232.766,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57172,
    "c": 0.18732,
    "h": 273.1
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#5768E4
secondary
#E6DFB1
accent
#BD11D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5768E4

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

Preview Lab → · Contrast checker → · Palette generator →

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