#5768CD#5768CD

#5768CD is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.6% C 0.156 H 273.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5768CD
RGBrgb(87, 104, 205)
HSLhsl(231, 54%, 57%)
HSVhsv(231, 58%, 80%)
CMYKcmyk(57.6%, 49.3%, 0%, 19.6%)
CIE-LABlab(47.41, 23.57, -54.51)
CIE-LCHlch(47.41, 59.38, 293.38°)
OKLaboklab(55.56% 0.0084 -0.1558)
OKLCHoklch(55.56% 0.156 273.1)
XYZxyz(19.8966, 16.3332, 59.8499)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768CD #CDBC57
analogous
#57A3CD #5768CD #8157CD
triadic
#5768CD #CD5768 #68CD57
tetradic
#5768CD #CD57A3 #CDBC57 #57CD81
square
#5768CD #CD57A3 #CDBC57 #57CD81
split-complementary
#5768CD #CD8157 #A3CD57
monochromatic
#273483 #3547B2 #5768CD #8692DB #B5BDE9

Accessibility & contrast

On white

4.92
#5768CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5768CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5768CD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768CD#FFFFFF#000000##FFFFFF
##5768CD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#216CCB
Tritanopia (blue-blind)
#007F91
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5768cd;
/* rgb */ color: rgb(87, 104, 205);
/* oklch */ color: oklch(55.6% 0.156 273.1);
Tailwind
colors: {
  custom: {
    50: '#9092dd',
    500: '#5768cd',
    950: '#000000',
  },
}
SCSS
$custom: #5768cd;
$custom-light: #9092dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5768cd",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 231.356,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55556,
    "c": 0.15599,
    "h": 273.1
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

primary
#5768CD
secondary
#D8D1A8
accent
#C84ADD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #5768CD

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

Preview Lab → · Contrast checker → · Palette generator →

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