#5768EB#5768EB

#5768EB is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.7% C 0.197 H 273.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5768EB
RGBrgb(87, 104, 235)
HSLhsl(233, 79%, 63%)
HSVhsv(233, 63%, 92%)
CMYKcmyk(63%, 55.7%, 0%, 7.8%)
CIE-LABlab(49.40, 33.56, -68.29)
CIE-LCHlch(49.40, 76.09, 296.17°)
OKLaboklab(57.69% 0.0104 -0.1963)
OKLCHoklch(57.69% 0.197 273)
XYZxyz(23.8712, 17.9230, 80.7827)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768EB #EBDA57
analogous
#57B2EB #5768EB #9057EB
triadic
#5768EB #EB5768 #68EB57
tetradic
#5768EB #EB57B2 #EBDA57 #57EB90
square
#5768EB #EB57B2 #EBDA57 #57EB90
split-complementary
#5768EB #EB9057 #B2EB57
monochromatic
#1527B2 #2037E4 #5768EB #8E99F2 #C4CAF8

Accessibility & contrast

On white

4.58
#5768EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5768EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5768EB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768EB#FFFFFF#000000##000000
##5768EB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#00879F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5768eb;
/* rgb */ color: rgb(87, 104, 235);
/* oklch */ color: oklch(57.7% 0.197 273.0);
Tailwind
colors: {
  custom: {
    50: '#9593f2',
    500: '#5768eb',
    950: '#000000',
  },
}
SCSS
$custom: #5768eb;
$custom-light: #9593f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5768eb",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 233.108,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.19659,
    "h": 273
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#5768EB
secondary
#E9E3B4
accent
#C30ADB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5768EB

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

Preview Lab → · Contrast checker → · Palette generator →

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