#5768CB#5768CB

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

Color values

HEX#5768CB
RGBrgb(87, 104, 203)
HSLhsl(231, 53%, 57%)
HSVhsv(231, 57%, 80%)
CMYKcmyk(57.1%, 48.8%, 0%, 20.4%)
CIE-LABlab(47.28, 22.91, -53.56)
CIE-LCHlch(47.28, 58.25, 293.16°)
OKLaboklab(55.42% 0.0082 -0.153)
OKLCHoklch(55.42% 0.153 273.1)
XYZxyz(19.6568, 16.2372, 58.5866)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768CB #CBBA57
analogous
#57A2CB #5768CB #8057CB
triadic
#5768CB #CB5768 #68CB57
tetradic
#5768CB #CB57A2 #CBBA57 #57CB80
square
#5768CB #CB57A2 #CBBA57 #57CB80
split-complementary
#5768CB #CB8057 #A2CB57
monochromatic
#283580 #3648AF #5768CB #8692D9 #B4BCE8

Accessibility & contrast

On white

4.94
#5768CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5768CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5768CB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768CB#FFFFFF#000000##FFFFFF
##5768CB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3775CF
Deuteranopia (green-blind)
#246BC9
Tritanopia (blue-blind)
#077E90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5768cb;
/* rgb */ color: rgb(87, 104, 203);
/* oklch */ color: oklch(55.4% 0.153 273.1);
Tailwind
colors: {
  custom: {
    50: '#9092db',
    500: '#5768cb',
    950: '#000000',
  },
}
SCSS
$custom: #5768cb;
$custom-light: #9092db;
$custom-dark: #000000;
JSON
{
  "hex": "#5768cb",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 231.207,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.55422,
    "c": 0.15319,
    "h": 273.1
  },
  "luminance": 0.16239
}

Semantic roles & 50–950 ramp

primary
#5768CB
secondary
#D7D0A7
accent
#C74CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0D15
muted
#7E7D83

Preview Lab

Preview with #5768CB

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

Preview Lab → · Contrast checker → · Palette generator →

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