#5768CA#5768CA

#5768CA is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.4% C 0.152 H 273.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5768CA
RGBrgb(87, 104, 202)
HSLhsl(231, 52%, 57%)
HSVhsv(231, 57%, 79%)
CMYKcmyk(56.9%, 48.5%, 0%, 20.8%)
CIE-LABlab(47.22, 22.58, -53.09)
CIE-LCHlch(47.22, 57.69, 293.04°)
OKLaboklab(55.36% 0.0081 -0.1516)
OKLCHoklch(55.36% 0.152 273.1)
XYZxyz(19.5380, 16.1897, 57.9610)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768CA #CAB957
analogous
#57A2CA #5768CA #8057CA
triadic
#5768CA #CA5768 #68CA57
tetradic
#5768CA #CA57A2 #CAB957 #57CA80
square
#5768CA #CA57A2 #CAB957 #57CA80
split-complementary
#5768CA #CA8057 #A2CA57
monochromatic
#28357F #3748AD #5768CA #8692D9 #B4BCE7

Accessibility & contrast

On white

4.95
#5768CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5768CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5768CA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768CA#FFFFFF#000000##FFFFFF
##5768CA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#266BC8
Tritanopia (blue-blind)
#0B7E8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5768ca;
/* rgb */ color: rgb(87, 104, 202);
/* oklch */ color: oklch(55.4% 0.152 273.1);
Tailwind
colors: {
  custom: {
    50: '#8f92db',
    500: '#5768ca',
    950: '#000000',
  },
}
SCSS
$custom: #5768ca;
$custom-light: #8f92db;
$custom-dark: #000000;
JSON
{
  "hex": "#5768ca",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 231.13,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.1518,
    "h": 273.1
  },
  "luminance": 0.16191
}

Semantic roles & 50–950 ramp

primary
#5768CA
secondary
#D6CFA7
accent
#C64CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #5768CA

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

Preview Lab → · Contrast checker → · Palette generator →

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