#5743E2#5743E2

#5743E2 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.9% C 0.228 H 280.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5743E2
RGBrgb(87, 67, 226)
HSLhsl(248, 73%, 57%)
HSVhsv(248, 70%, 89%)
CMYKcmyk(61.5%, 70.4%, 0%, 11.4%)
CIE-LABlab(40.46, 52.35, -77.80)
CIE-LCHlch(40.46, 93.77, 303.93°)
OKLaboklab(50.93% 0.0406 -0.2244)
OKLCHoklch(50.93% 0.228 280.3)
XYZxyz(19.6608, 11.5301, 73.1262)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743E2 #CEE243
analogous
#437FE2 #5743E2 #A643E2
triadic
#5743E2 #E25743 #43E257
tetradic
#5743E2 #E2437F #CEE243 #43E2A6
square
#5743E2 #E2437F #CEE243 #43E2A6
split-complementary
#5743E2 #E2A643 #7FE243
monochromatic
#271794 #341FC9 #5743E2 #8678EA #B6ADF2

Accessibility & contrast

On white

6.35
#5743E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5743E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743E2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743E2#FFFFFF#000000##FFFFFF
##5743E21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5743e2;
/* rgb */ color: rgb(87, 67, 226);
/* oklch */ color: oklch(50.9% 0.228 280.3);
Tailwind
colors: {
  custom: {
    50: '#9679ec',
    500: '#5743e2',
    950: '#000000',
  },
}
SCSS
$custom: #5743e2;
$custom-light: #9679ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5743e2",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 226
  },
  "hsl": {
    "h": 247.547,
    "s": 73.272,
    "l": 57.451
  },
  "oklch": {
    "l": 0.50931,
    "c": 0.22804,
    "h": 280.3
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

primary
#5743E2
secondary
#D8E1A0
accent
#F038D9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5743E2

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

Preview Lab → · Contrast checker → · Palette generator →

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