#5768B2#5768B2

#5768B2 is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.8% C 0.117 H 272.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5768B2
RGBrgb(87, 104, 178)
HSLhsl(229, 37%, 52%)
HSVhsv(229, 51%, 70%)
CMYKcmyk(51.1%, 41.6%, 0%, 30.2%)
CIE-LABlab(45.83, 14.75, -41.43)
CIE-LCHlch(45.83, 43.97, 289.60°)
OKLaboklab(53.84% 0.0044 -0.1174)
OKLCHoklch(53.84% 0.117 272.2)
XYZxyz(16.9141, 15.1401, 44.1419)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768B2 #B2A157
analogous
#5796B2 #5768B2 #7457B2
triadic
#5768B2 #B25768 #68B257
tetradic
#5768B2 #B25796 #B2A157 #57B274
square
#5768B2 #B25796 #B2A157 #57B274
split-complementary
#5768B2 #B27457 #96B257
monochromatic
#2D3762 #404E8C #5768B2 #818EC5 #ABB3D8

Accessibility & contrast

On white

5.21
#5768B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5768B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5768B2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768B2#FFFFFF#000000##FFFFFF
##5768B21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B5
Deuteranopia (green-blind)
#4169B0
Tritanopia (blue-blind)
#307884
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5768b2;
/* rgb */ color: rgb(87, 104, 178);
/* oklch */ color: oklch(53.8% 0.117 272.2);
Tailwind
colors: {
  custom: {
    50: '#8c92c9',
    500: '#5768b2',
    950: '#000000',
  },
}
SCSS
$custom: #5768b2;
$custom-light: #8c92c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5768b2",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 178
  },
  "hsl": {
    "h": 228.791,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53838,
    "c": 0.11745,
    "h": 272.2
  },
  "luminance": 0.15141
}

Semantic roles & 50–950 ramp

primary
#5768B2
secondary
#C6BF9E
accent
#B85BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0D13
muted
#7D7D82

Preview Lab

Preview with #5768B2

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

Preview Lab → · Contrast checker → · Palette generator →

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