#5743D2#5743D2

#5743D2 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.209 H 282.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5743D2
RGBrgb(87, 67, 210)
HSLhsl(248, 61%, 54%)
HSVhsv(248, 68%, 82%)
CMYKcmyk(58.6%, 68.1%, 0%, 17.6%)
CIE-LABlab(39.06, 47.49, -70.93)
CIE-LCHlch(39.06, 85.36, 303.80°)
OKLaboklab(49.5% 0.0433 -0.2043)
OKLCHoklch(49.5% 0.209 282)
XYZxyz(17.5669, 10.6925, 62.0984)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743D2 #BED243
analogous
#4377D2 #5743D2 #9F43D2
triadic
#5743D2 #D25743 #43D257
tetradic
#5743D2 #D24377 #BED243 #43D29F
square
#5743D2 #D24377 #BED243 #43D29F
split-complementary
#5743D2 #D29F43 #77D243
monochromatic
#2B1E7D #3C2AAE #5743D2 #8374DE #AFA6EA

Accessibility & contrast

On white

6.69
#5743D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5743D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743D2
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743D2#FFFFFF#000000##FFFFFF
##5743D21.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#006985
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5743d2;
/* rgb */ color: rgb(87, 67, 210);
/* oklch */ color: oklch(49.5% 0.209 282.0);
Tailwind
colors: {
  custom: {
    50: '#9379e1',
    500: '#5743d2',
    950: '#000000',
  },
}
SCSS
$custom: #5743d2;
$custom-light: #9379e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5743d2",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 248.392,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49499,
    "c": 0.20879,
    "h": 282
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#5743D2
secondary
#CED79A
accent
#E443CE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5743D2

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

Preview Lab → · Contrast checker → · Palette generator →

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