#5768BD#5768BD

#5768BD is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.5% C 0.133 H 272.7°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5768BD
RGBrgb(87, 104, 189)
HSLhsl(230, 44%, 54%)
HSVhsv(230, 54%, 74%)
CMYKcmyk(54%, 45%, 0%, 25.9%)
CIE-LABlab(46.44, 18.31, -46.84)
CIE-LCHlch(46.44, 50.29, 291.35°)
OKLaboklab(54.51% 0.0064 -0.1332)
OKLCHoklch(54.51% 0.133 272.7)
XYZxyz(18.0631, 15.5997, 50.1935)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768BD #BDAC57
analogous
#579BBD #5768BD #7957BD
triadic
#5768BD #BD5768 #68BD57
tetradic
#5768BD #BD579B #BDAC57 #57BD79
square
#5768BD #BD579B #BDAC57 #57BD79
split-complementary
#5768BD #BD7957 #9BBD57
monochromatic
#2B366E #3D4C9A #5768BD #838FCE #AFB7E0

Accessibility & contrast

On white

5.10
#5768BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5768BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5768BD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768BD#FFFFFF#000000##FFFFFF
##5768BD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#247B89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5768bd;
/* rgb */ color: rgb(87, 104, 189);
/* oklch */ color: oklch(54.5% 0.133 272.7);
Tailwind
colors: {
  custom: {
    50: '#8d92d1',
    500: '#5768bd',
    950: '#000000',
  },
}
SCSS
$custom: #5768bd;
$custom-light: #8d92d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5768bd",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 189
  },
  "hsl": {
    "h": 230,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54513,
    "c": 0.13337,
    "h": 272.7
  },
  "luminance": 0.15601
}

Semantic roles & 50–950 ramp

primary
#5768BD
secondary
#CEC6A2
accent
#BE54D3
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0D14
muted
#7E7D82

Preview Lab

Preview with #5768BD

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

Preview Lab → · Contrast checker → · Palette generator →

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