#5768F2#5768F2

#5768F2 is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.2% C 0.206 H 272.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5768F2
RGBrgb(87, 104, 242)
HSLhsl(233, 86%, 65%)
HSVhsv(233, 64%, 95%)
CMYKcmyk(64%, 57%, 0%, 5.1%)
CIE-LABlab(49.90, 35.89, -71.41)
CIE-LCHlch(49.90, 79.92, 296.68°)
OKLaboklab(58.22% 0.0105 -0.2055)
OKLCHoklch(58.22% 0.206 272.9)
XYZxyz(24.9025, 18.3355, 86.2140)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5768F2 #F2E157
analogous
#57B6F2 #5768F2 #9357F2
triadic
#5768F2 #F25768 #68F257
tetradic
#5768F2 #F257B6 #F2E157 #57F293
square
#5768F2 #F257B6 #F2E157 #57F293
split-complementary
#5768F2 #F29357 #B6F257
monochromatic
#0F22C0 #1E35EE #5768F2 #909BF6 #C9CEFB

Accessibility & contrast

On white

4.50
#5768F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5768F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5768F2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5768F2#FFFFFF#000000##000000
##5768F21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0070EF
Tritanopia (blue-blind)
#008AA3
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5768f2;
/* rgb */ color: rgb(87, 104, 242);
/* oklch */ color: oklch(58.2% 0.206 272.9);
Tailwind
colors: {
  custom: {
    50: '#9693f7',
    500: '#5768f2',
    950: '#000000',
  },
}
SCSS
$custom: #5768f2;
$custom-light: #9693f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5768f2",
  "rgb": {
    "r": 87,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 233.419,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58218,
    "c": 0.20574,
    "h": 272.9
  },
  "luminance": 0.18338
}

Semantic roles & 50–950 ramp

primary
#5768F2
secondary
#EDE7B8
accent
#CA03E2
background
#FAF9FF
surface
#F3F1FF
border
#CDCBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5768F2

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

Preview Lab → · Contrast checker → · Palette generator →

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