#5743E5#5743E5

#5743E5 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.2% C 0.232 H 280.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5743E5
RGBrgb(87, 67, 229)
HSLhsl(247, 76%, 58%)
HSVhsv(247, 71%, 90%)
CMYKcmyk(62%, 70.7%, 0%, 10.2%)
CIE-LABlab(40.73, 53.25, -79.07)
CIE-LCHlch(40.73, 95.33, 303.96°)
OKLaboklab(51.21% 0.0401 -0.2281)
OKLCHoklch(51.21% 0.232 280)
XYZxyz(20.0760, 11.6962, 75.3132)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743E5 #D1E543
analogous
#4380E5 #5743E5 #A843E5
triadic
#5743E5 #E55743 #43E557
tetradic
#5743E5 #E54380 #D1E543 #43E5A8
square
#5743E5 #E54380 #D1E543 #43E5A8
split-complementary
#5743E5 #E5A843 #80E543
monochromatic
#251599 #321DCE #5743E5 #8779EC #B7AFF4

Accessibility & contrast

On white

6.29
#5743E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5743E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743E5
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743E5#FFFFFF#000000##FFFFFF
##5743E51.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EA
Deuteranopia (green-blind)
#005AE2
Tritanopia (blue-blind)
#006F90
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5743e5;
/* rgb */ color: rgb(87, 67, 229);
/* oklch */ color: oklch(51.2% 0.232 280.0);
Tailwind
colors: {
  custom: {
    50: '#9679ee',
    500: '#5743e5',
    950: '#000000',
  },
}
SCSS
$custom: #5743e5;
$custom-light: #9679ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5743e5",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 229
  },
  "hsl": {
    "h": 247.407,
    "s": 75.701,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51205,
    "c": 0.23157,
    "h": 280
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#5743E5
secondary
#DAE2A2
accent
#F236DB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5743E5

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

Preview Lab → · Contrast checker → · Palette generator →

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