#5766F2#5766F2

#5766F2 is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 57.9% C 0.208 H 273.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5766F2
RGBrgb(87, 102, 242)
HSLhsl(234, 86%, 65%)
HSVhsv(234, 64%, 95%)
CMYKcmyk(64%, 57.9%, 0%, 5.1%)
CIE-LABlab(49.42, 37.10, -72.19)
CIE-LCHlch(49.42, 81.16, 297.20°)
OKLaboklab(57.86% 0.0122 -0.2078)
OKLCHoklch(57.86% 0.208 273.3)
XYZxyz(24.7035, 17.9376, 86.1476)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5766F2 #F2E357
analogous
#57B3F2 #5766F2 #9657F2
triadic
#5766F2 #F25766 #66F257
tetradic
#5766F2 #F257B3 #F2E357 #57F296
square
#5766F2 #F257B3 #F2E357 #57F296
split-complementary
#5766F2 #F29657 #B3F257
monochromatic
#0F20C0 #1E32EE #5766F2 #909AF6 #C9CDFB

Accessibility & contrast

On white

4.58
#5766F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5766F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5766F2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5766F2#FFFFFF#000000##000000
##5766F21.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)
#007DF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#0088A2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5766f2;
/* rgb */ color: rgb(87, 102, 242);
/* oklch */ color: oklch(57.9% 0.208 273.3);
Tailwind
colors: {
  custom: {
    50: '#9691f7',
    500: '#5766f2',
    950: '#000000',
  },
}
SCSS
$custom: #5766f2;
$custom-light: #9691f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5766f2",
  "rgb": {
    "r": 87,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 234.194,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.20813,
    "h": 273.3
  },
  "luminance": 0.1794
}

Semantic roles & 50–950 ramp

primary
#5766F2
secondary
#EDE8B8
accent
#CD03E2
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5766F2

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

Preview Lab → · Contrast checker → · Palette generator →

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