#5768EA#5768EA

#5768EA is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.6% C 0.195 H 273.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5768EA
RGBrgb(87, 104, 234)
HSLhsl(233, 78%, 63%)
HSVhsv(233, 63%, 92%)
CMYKcmyk(62.8%, 55.6%, 0%, 8.2%)
CIE-LABlab(49.33, 33.22, -67.85)
CIE-LCHlch(49.33, 75.54, 296.09°)
OKLaboklab(57.62% 0.0103 -0.195)
OKLCHoklch(57.62% 0.195 273)
XYZxyz(23.7271, 17.8654, 80.0239)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768EA #EAD957
analogous
#57B2EA #5768EA #8F57EA
triadic
#5768EA #EA5768 #68EA57
tetradic
#5768EA #EA57B2 #EAD957 #57EA8F
square
#5768EA #EA57B2 #EAD957 #57EA8F
split-complementary
#5768EA #EA8F57 #B2EA57
monochromatic
#1628B1 #2137E3 #5768EA #8D99F1 #C4CAF8

Accessibility & contrast

On white

4.59
#5768EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5768EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5768EA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768EA#FFFFFF#000000##FFFFFF
##5768EA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#00879F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5768ea;
/* rgb */ color: rgb(87, 104, 234);
/* oklch */ color: oklch(57.6% 0.195 273.0);
Tailwind
colors: {
  custom: {
    50: '#9593f2',
    500: '#5768ea',
    950: '#000000',
  },
}
SCSS
$custom: #5768ea;
$custom-light: #9593f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5768ea",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 233.061,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57615,
    "c": 0.19527,
    "h": 273
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#5768EA
secondary
#E9E3B4
accent
#C20BDA
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5768EA

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

Preview Lab → · Contrast checker → · Palette generator →

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