#5743D1#5743D1

#5743D1 is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.4% C 0.208 H 282.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5743D1
RGBrgb(87, 67, 209)
HSLhsl(248, 61%, 54%)
HSVhsv(248, 68%, 82%)
CMYKcmyk(58.4%, 67.9%, 0%, 18%)
CIE-LABlab(38.97, 47.19, -70.49)
CIE-LCHlch(38.97, 84.83, 303.80°)
OKLaboklab(49.41% 0.0434 -0.203)
OKLCHoklch(49.41% 0.208 282.1)
XYZxyz(17.4427, 10.6428, 61.4444)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743D1 #BDD143
analogous
#4376D1 #5743D1 #9E43D1
triadic
#5743D1 #D15743 #43D157
tetradic
#5743D1 #D14376 #BDD143 #43D19E
square
#5743D1 #D14376 #BDD143 #43D19E
split-complementary
#5743D1 #D19E43 #76D143
monochromatic
#2B1E7B #3D2AAD #5743D1 #8374DD #AFA5E9

Accessibility & contrast

On white

6.71
#5743D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5743D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743D1
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743D1#FFFFFF#000000##FFFFFF
##5743D11.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0057CE
Tritanopia (blue-blind)
#046885
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5743d1;
/* rgb */ color: rgb(87, 67, 209);
/* oklch */ color: oklch(49.4% 0.208 282.1);
Tailwind
colors: {
  custom: {
    50: '#9379e0',
    500: '#5743d1',
    950: '#000000',
  },
}
SCSS
$custom: #5743d1;
$custom-light: #9379e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5743d1",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 209
  },
  "hsl": {
    "h": 248.451,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49412,
    "c": 0.20758,
    "h": 282.1
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#5743D1
secondary
#CED69A
accent
#E444CD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5743D1

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

Preview Lab → · Contrast checker → · Palette generator →

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