#5743CA#5743CA

#5743CA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.8% C 0.199 H 282.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5743CA
RGBrgb(87, 67, 202)
HSLhsl(249, 56%, 53%)
HSVhsv(249, 67%, 79%)
CMYKcmyk(56.9%, 66.8%, 0%, 20.8%)
CIE-LABlab(38.38, 45.05, -67.41)
CIE-LCHlch(38.38, 81.08, 303.76°)
OKLaboklab(48.81% 0.0444 -0.1939)
OKLCHoklch(48.81% 0.199 282.9)
XYZxyz(16.5950, 10.3038, 56.9800)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743CA #B6CA43
analogous
#4372CA #5743CA #9B43CA
triadic
#5743CA #CA5743 #43CA57
tetradic
#5743CA #CA4372 #B6CA43 #43CA9B
square
#5743CA #CA4372 #B6CA43 #43CA9B
split-complementary
#5743CA #CA9B43 #72CA43
monochromatic
#2C2072 #3F2EA2 #5743CA #8273D7 #ACA2E5

Accessibility & contrast

On white

6.86
#5743CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5743CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743CA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743CA#FFFFFF#000000##FFFFFF
##5743CA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#196681
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5743ca;
/* rgb */ color: rgb(87, 67, 202);
/* oklch */ color: oklch(48.8% 0.199 282.9);
Tailwind
colors: {
  custom: {
    50: '#9279db',
    500: '#5743ca',
    950: '#000000',
  },
}
SCSS
$custom: #5743ca;
$custom-light: #9279db;
$custom-dark: #000000;
JSON
{
  "hex": "#5743ca",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 248.889,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48805,
    "c": 0.19896,
    "h": 282.9
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#5743CA
secondary
#C9D297
accent
#DF48C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5743CA

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

Preview Lab → · Contrast checker → · Palette generator →

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