#5768F6#5768F6

#5768F6 is a mid, highly saturated blue. Relative luminance 0.186; OKLCH L 58.5% C 0.211 H 272.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5768F6
RGBrgb(87, 104, 246)
HSLhsl(234, 90%, 65%)
HSVhsv(234, 65%, 96%)
CMYKcmyk(64.6%, 57.7%, 0%, 3.5%)
CIE-LABlab(50.19, 37.22, -73.17)
CIE-LCHlch(50.19, 82.09, 296.96°)
OKLaboklab(58.52% 0.0105 -0.2106)
OKLCHoklch(58.52% 0.211 272.9)
XYZxyz(25.5098, 18.5784, 89.4126)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768F6 #F6E557
analogous
#57B7F6 #5768F6 #9557F6
triadic
#5768F6 #F65768 #68F657
tetradic
#5768F6 #F657B7 #F6E557 #57F695
square
#5768F6 #F657B7 #F6E557 #57F695
split-complementary
#5768F6 #F69557 #B7F657
monochromatic
#0B1FC8 #1D34F3 #5768F6 #919CF9 #CBD0FC

Accessibility & contrast

On white

4.45
#5768F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5768F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5768F6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768F6#FFFFFF#000000##000000
##5768F61.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#0070F3
Tritanopia (blue-blind)
#008BA5
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5768f6;
/* rgb */ color: rgb(87, 104, 246);
/* oklch */ color: oklch(58.5% 0.211 272.9);
Tailwind
colors: {
  custom: {
    50: '#9793fa',
    500: '#5768f6',
    950: '#000000',
  },
}
SCSS
$custom: #5768f6;
$custom-light: #9793fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5768f6",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 246
  },
  "hsl": {
    "h": 233.585,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.21091,
    "h": 272.9
  },
  "luminance": 0.18581
}

Semantic roles & 50–950 ramp

primary
#5768F6
secondary
#EFE9BA
accent
#CD00E6
background
#FAF9FF
surface
#F3F1FF
border
#CDCBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5768F6

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

Preview Lab → · Contrast checker → · Palette generator →

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