#5768E8#5768E8

#5768E8 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.5% C 0.193 H 273.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5768E8
RGBrgb(87, 104, 232)
HSLhsl(233, 76%, 63%)
HSVhsv(233, 63%, 91%)
CMYKcmyk(62.5%, 55.2%, 0%, 9%)
CIE-LABlab(49.19, 32.55, -66.95)
CIE-LCHlch(49.19, 74.44, 295.93°)
OKLaboklab(57.47% 0.0103 -0.1924)
OKLCHoklch(57.47% 0.193 273.1)
XYZxyz(23.4414, 17.7511, 78.5193)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768E8 #E8D757
analogous
#57B0E8 #5768E8 #8F57E8
triadic
#5768E8 #E85768 #68E857
tetradic
#5768E8 #E857B0 #E8D757 #57E88F
square
#5768E8 #E857B0 #E8D757 #57E88F
split-complementary
#5768E8 #E88F57 #B0E857
monochromatic
#1829AD #2138E1 #5768E8 #8D98EF #C3C9F7

Accessibility & contrast

On white

4.61
#5768E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5768E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5768E8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768E8#FFFFFF#000000##FFFFFF
##5768E81.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#006FE5
Tritanopia (blue-blind)
#00879E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5768e8;
/* rgb */ color: rgb(87, 104, 232);
/* oklch */ color: oklch(57.5% 0.193 273.1);
Tailwind
colors: {
  custom: {
    50: '#9493f0',
    500: '#5768e8',
    950: '#000000',
  },
}
SCSS
$custom: #5768e8;
$custom-light: #9493f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5768e8",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 232.966,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.19263,
    "h": 273.1
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#5768E8
secondary
#E8E2B3
accent
#C00DD8
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5768E8

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

Preview Lab → · Contrast checker → · Palette generator →

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