#5768CF#5768CF

#5768CF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.7% C 0.159 H 273.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5768CF
RGBrgb(87, 104, 207)
HSLhsl(232, 56%, 58%)
HSVhsv(232, 58%, 81%)
CMYKcmyk(58%, 49.8%, 0%, 18.8%)
CIE-LABlab(47.53, 24.23, -55.45)
CIE-LCHlch(47.53, 60.51, 293.61°)
OKLaboklab(55.69% 0.0086 -0.1585)
OKLCHoklch(55.69% 0.159 273.1)
XYZxyz(20.1396, 16.4303, 61.1295)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768CF #CFBE57
analogous
#57A4CF #5768CF #8257CF
triadic
#5768CF #CF5768 #68CF57
tetradic
#5768CF #CF57A4 #CFBE57 #57CF82
square
#5768CF #CF57A4 #CFBE57 #57CF82
split-complementary
#5768CF #CF8257 #A4CF57
monochromatic
#263485 #3446B5 #5768CF #8793DD #B6BEEA

Accessibility & contrast

On white

4.90
#5768CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5768CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5768CF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768CF#FFFFFF#000000##FFFFFF
##5768CF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3276D3
Deuteranopia (green-blind)
#1C6CCD
Tritanopia (blue-blind)
#007F92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5768cf;
/* rgb */ color: rgb(87, 104, 207);
/* oklch */ color: oklch(55.7% 0.159 273.1);
Tailwind
colors: {
  custom: {
    50: '#9092de',
    500: '#5768cf',
    950: '#000000',
  },
}
SCSS
$custom: #5768cf;
$custom-light: #9092de;
$custom-dark: #000000;
JSON
{
  "hex": "#5768cf",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 207
  },
  "hsl": {
    "h": 231.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.15877,
    "h": 273.1
  },
  "luminance": 0.16432
}

Semantic roles & 50–950 ramp

primary
#5768CF
secondary
#D9D2A9
accent
#CA49DF
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5768CF

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

Preview Lab → · Contrast checker → · Palette generator →

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