#5743E6#5743E6

#5743E6 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.3% C 0.233 H 279.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5743E6
RGBrgb(87, 67, 230)
HSLhsl(247, 77%, 58%)
HSVhsv(247, 71%, 90%)
CMYKcmyk(62.2%, 70.9%, 0%, 9.8%)
CIE-LABlab(40.82, 53.55, -79.49)
CIE-LCHlch(40.82, 95.84, 303.97°)
OKLaboklab(51.3% 0.0399 -0.2293)
OKLCHoklch(51.3% 0.233 279.9)
XYZxyz(20.2160, 11.7522, 76.0506)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743E6 #D2E643
analogous
#4380E6 #5743E6 #A843E6
triadic
#5743E6 #E65743 #43E657
tetradic
#5743E6 #E64380 #D2E643 #43E6A8
square
#5743E6 #E64380 #D2E643 #43E6A8
split-complementary
#5743E6 #E6A843 #80E643
monochromatic
#25149A #321CD0 #5743E6 #8779ED #B8AFF4

Accessibility & contrast

On white

6.27
#5743E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5743E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743E6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743E6#FFFFFF#000000##FFFFFF
##5743E61.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EB
Deuteranopia (green-blind)
#005AE3
Tritanopia (blue-blind)
#007090
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5743e6;
/* rgb */ color: rgb(87, 67, 230);
/* oklch */ color: oklch(51.3% 0.233 279.9);
Tailwind
colors: {
  custom: {
    50: '#967aef',
    500: '#5743e6',
    950: '#000000',
  },
}
SCSS
$custom: #5743e6;
$custom-light: #967aef;
$custom-dark: #000000;
JSON
{
  "hex": "#5743e6",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 230
  },
  "hsl": {
    "h": 247.362,
    "s": 76.526,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51297,
    "c": 0.23275,
    "h": 279.9
  },
  "luminance": 0.11754
}

Semantic roles & 50–950 ramp

primary
#5743E6
secondary
#DBE3A2
accent
#F335DC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5743E6

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

Preview Lab → · Contrast checker → · Palette generator →

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