#5743DC#5743DC

#5743DC is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.4% C 0.221 H 280.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5743DC
RGBrgb(87, 67, 220)
HSLhsl(248, 69%, 56%)
HSVhsv(248, 70%, 86%)
CMYKcmyk(60.5%, 69.5%, 0%, 13.7%)
CIE-LABlab(39.93, 50.53, -75.25)
CIE-LCHlch(39.93, 90.64, 303.88°)
OKLaboklab(50.39% 0.0417 -0.2169)
OKLCHoklch(50.39% 0.221 280.9)
XYZxyz(18.8518, 11.2065, 68.8659)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743DC #C8DC43
analogous
#437CDC #5743DC #A443DC
triadic
#5743DC #DC5743 #43DC57
tetradic
#5743DC #DC437C #C8DC43 #43DCA4
square
#5743DC #DC437C #C8DC43 #43DCA4
split-complementary
#5743DC #DCA443 #7CDC43
monochromatic
#291A8B #3823BE #5743DC #8577E6 #B3AAEF

Accessibility & contrast

On white

6.48
#5743DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5743DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743DC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743DC#FFFFFF#000000##FFFFFF
##5743DC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E1
Deuteranopia (green-blind)
#0058D9
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5743dc;
/* rgb */ color: rgb(87, 67, 220);
/* oklch */ color: oklch(50.4% 0.221 280.9);
Tailwind
colors: {
  custom: {
    50: '#9579e8',
    500: '#5743dc',
    950: '#000000',
  },
}
SCSS
$custom: #5743dc;
$custom-light: #9579e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5743dc",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 247.843,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.22088,
    "h": 280.9
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#5743DC
secondary
#D5DD9E
accent
#EB3CD5
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5743DC

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

Preview Lab → · Contrast checker → · Palette generator →

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