#5743EA#5743EA

#5743EA is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.7% C 0.237 H 279.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#5743EA
RGBrgb(87, 67, 234)
HSLhsl(247, 80%, 59%)
HSVhsv(247, 71%, 92%)
CMYKcmyk(62.8%, 71.4%, 0%, 8.2%)
CIE-LABlab(41.18, 54.75, -81.16)
CIE-LCHlch(41.18, 97.90, 304.01°)
OKLaboklab(51.67% 0.0391 -0.2342)
OKLCHoklch(51.67% 0.237 279.5)
XYZxyz(20.7842, 11.9794, 79.0429)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743EA #D6EA43
analogous
#4383EA #5743EA #AB43EA
triadic
#5743EA #EA5743 #43EA57
tetradic
#5743EA #EA4383 #D6EA43 #43EAAB
square
#5743EA #EA4383 #D6EA43 #43EAAB
split-complementary
#5743EA #EAAB43 #83EA43
monochromatic
#2312A1 #2F18D8 #5743EA #887AF0 #B9B1F6

Accessibility & contrast

On white

6.18
#5743EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5743EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743EA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743EA#FFFFFF#000000##FFFFFF
##5743EA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EF
Deuteranopia (green-blind)
#005BE7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5743ea;
/* rgb */ color: rgb(87, 67, 234);
/* oklch */ color: oklch(51.7% 0.237 279.5);
Tailwind
colors: {
  custom: {
    50: '#977af2',
    500: '#5743ea',
    950: '#000000',
  },
}
SCSS
$custom: #5743ea;
$custom-light: #977af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5743ea",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 234
  },
  "hsl": {
    "h": 247.186,
    "s": 79.904,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51666,
    "c": 0.23743,
    "h": 279.5
  },
  "luminance": 0.11981
}

Semantic roles & 50–950 ramp

primary
#5743EA
secondary
#DDE5A4
accent
#F631DF
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5743EA

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

Preview Lab → · Contrast checker → · Palette generator →

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