#5746DC#5746DC

#5746DC is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.218 H 280.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5746DC
RGBrgb(87, 70, 220)
HSLhsl(247, 68%, 57%)
HSVhsv(247, 68%, 86%)
CMYKcmyk(60.5%, 68.2%, 0%, 13.7%)
CIE-LABlab(40.53, 48.87, -74.26)
CIE-LCHlch(40.53, 88.90, 303.35°)
OKLaboklab(50.82% 0.0394 -0.214)
OKLCHoklch(50.82% 0.218 280.4)
XYZxyz(19.0348, 11.5725, 68.9269)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746DC #CBDC46
analogous
#4680DC #5746DC #A246DC
triadic
#5746DC #DC5746 #46DC57
tetradic
#5746DC #DC4680 #CBDC46 #46DCA2
square
#5746DC #DC4680 #CBDC46 #46DCA2
split-complementary
#5746DC #DCA246 #80DC46
monochromatic
#281B8D #3624C0 #5746DC #8679E6 #B4ADEF

Accessibility & contrast

On white

6.34
#5746DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5746DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746DC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746DC#FFFFFF#000000##FFFFFF
##5746DC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005AD9
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5746dc;
/* rgb */ color: rgb(87, 70, 220);
/* oklch */ color: oklch(50.8% 0.218 280.4);
Tailwind
colors: {
  custom: {
    50: '#947be8',
    500: '#5746dc',
    950: '#000000',
  },
}
SCSS
$custom: #5746dc;
$custom-light: #947be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5746dc",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 246.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.21764,
    "h": 280.4
  },
  "luminance": 0.11574
}

Semantic roles & 50–950 ramp

primary
#5746DC
secondary
#D7DDA0
accent
#EB3DD7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5746DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5746DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva