#5768DF#5768DF

#5768DF is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.8% C 0.181 H 273.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5768DF
RGBrgb(87, 104, 223)
HSLhsl(233, 68%, 61%)
HSVhsv(233, 61%, 87%)
CMYKcmyk(61%, 53.4%, 0%, 12.5%)
CIE-LABlab(48.58, 29.55, -62.87)
CIE-LCHlch(48.58, 69.47, 295.18°)
OKLaboklab(56.81% 0.0099 -0.1804)
OKLCHoklch(56.81% 0.181 273.1)
XYZxyz(22.1957, 17.2528, 71.9582)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768DF #DFCE57
analogous
#57ACDF #5768DF #8A57DF
triadic
#5768DF #DF5768 #68DF57
tetradic
#5768DF #DF57AC #DFCE57 #57DF8A
square
#5768DF #DF57AC #DFCE57 #57DF8A
split-complementary
#5768DF #DF8A57 #ACDF57
monochromatic
#1E2E9E #283DD1 #5768DF #8A96E9 #BEC4F3

Accessibility & contrast

On white

4.72
#5768DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5768DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5768DF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768DF#FFFFFF#000000##FFFFFF
##5768DF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#187AE3
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5768df;
/* rgb */ color: rgb(87, 104, 223);
/* oklch */ color: oklch(56.8% 0.181 273.1);
Tailwind
colors: {
  custom: {
    50: '#9392ea',
    500: '#5768df',
    950: '#000000',
  },
}
SCSS
$custom: #5768df;
$custom-light: #9392ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5768df",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 232.5,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.5681,
    "c": 0.18063,
    "h": 273.1
  },
  "luminance": 0.17255
}

Semantic roles & 50–950 ramp

primary
#5768DF
secondary
#E3DCAF
accent
#B916D0
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5768DF

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

Preview Lab → · Contrast checker → · Palette generator →

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