#5743CE#5743CE

#5743CE is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.1% C 0.204 H 282.4°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5743CE
RGBrgb(87, 67, 206)
HSLhsl(249, 59%, 54%)
HSVhsv(249, 67%, 81%)
CMYKcmyk(57.8%, 67.5%, 0%, 19.2%)
CIE-LABlab(38.72, 46.27, -69.18)
CIE-LCHlch(38.72, 83.23, 303.78°)
OKLaboklab(49.15% 0.0439 -0.1991)
OKLCHoklch(49.15% 0.204 282.4)
XYZxyz(17.0748, 10.4957, 59.5067)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743CE #BACE43
analogous
#4374CE #5743CE #9C43CE
triadic
#5743CE #CE5743 #43CE57
tetradic
#5743CE #CE4374 #BACE43 #43CE9C
square
#5743CE #CE4374 #BACE43 #43CE9C
split-complementary
#5743CE #CE9C43 #74CE43
monochromatic
#2C1F77 #3E2CA8 #5743CE #8274DB #AEA4E7

Accessibility & contrast

On white

6.78
#5743CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#5743CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743CE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743CE#FFFFFF#000000##FFFFFF
##5743CE1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#106783
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5743ce;
/* rgb */ color: rgb(87, 67, 206);
/* oklch */ color: oklch(49.1% 0.204 282.4);
Tailwind
colors: {
  custom: {
    50: '#9279de',
    500: '#5743ce',
    950: '#000000',
  },
}
SCSS
$custom: #5743ce;
$custom-light: #9279de;
$custom-dark: #000000;
JSON
{
  "hex": "#5743ce",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 248.633,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4915,
    "c": 0.2039,
    "h": 282.4
  },
  "luminance": 0.10497
}

Semantic roles & 50–950 ramp

primary
#5743CE
secondary
#CCD499
accent
#E246CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5743CE

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

Preview Lab → · Contrast checker → · Palette generator →

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