#5768AB#5768AB

#5768AB is a mid, moderate blue. Relative luminance 0.149; OKLCH L 53.4% C 0.107 H 271.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5768AB
RGBrgb(87, 104, 171)
HSLhsl(228, 33%, 51%)
HSVhsv(228, 49%, 67%)
CMYKcmyk(49.1%, 39.2%, 0%, 32.9%)
CIE-LABlab(45.45, 12.52, -37.93)
CIE-LCHlch(45.45, 39.94, 288.26°)
OKLaboklab(53.43% 0.003 -0.1071)
OKLCHoklch(53.43% 0.107 271.6)
XYZxyz(16.2291, 14.8662, 40.5345)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768AB #AB9A57
analogous
#5792AB #5768AB #7057AB
triadic
#5768AB #AB5768 #68AB57
tetradic
#5768AB #AB5792 #AB9A57 #57AB70
square
#5768AB #AB5792 #AB9A57 #57AB70
split-complementary
#5768AB #AB7057 #92AB57
monochromatic
#2D365A #424F83 #5768AB #808DBF #A9B1D4

Accessibility & contrast

On white

5.29
#5768AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5768AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5768AB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768AB#FFFFFF#000000##FFFFFF
##5768AB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAE
Deuteranopia (green-blind)
#4668AA
Tritanopia (blue-blind)
#357681
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5768ab;
/* rgb */ color: rgb(87, 104, 171);
/* oklch */ color: oklch(53.4% 0.107 271.6);
Tailwind
colors: {
  custom: {
    50: '#8b92c4',
    500: '#5768ab',
    950: '#000000',
  },
}
SCSS
$custom: #5768ab;
$custom-light: #8b92c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5768ab",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 171
  },
  "hsl": {
    "h": 227.857,
    "s": 33.333,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53427,
    "c": 0.10718,
    "h": 271.6
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#5768AB
secondary
#C2BA9C
accent
#B45EC9
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0D13
muted
#7D7D82

Preview Lab

Preview with #5768AB

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

Preview Lab → · Contrast checker → · Palette generator →

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