#5743CC#5743CC

#5743CC is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.0% C 0.201 H 282.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5743CC
RGBrgb(87, 67, 204)
HSLhsl(249, 57%, 53%)
HSVhsv(249, 67%, 80%)
CMYKcmyk(57.4%, 67.2%, 0%, 20%)
CIE-LABlab(38.55, 45.66, -68.29)
CIE-LCHlch(38.55, 82.15, 303.77°)
OKLaboklab(48.98% 0.0442 -0.1965)
OKLCHoklch(48.98% 0.201 282.7)
XYZxyz(16.8333, 10.3991, 58.2352)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743CC #B8CC43
analogous
#4373CC #5743CC #9B43CC
triadic
#5743CC #CC5743 #43CC57
tetradic
#5743CC #CC4373 #B8CC43 #43CC9B
square
#5743CC #CC4373 #B8CC43 #43CC9B
split-complementary
#5743CC #CC9B43 #73CC43
monochromatic
#2C2075 #3E2DA5 #5743CC #8273D9 #ADA3E6

Accessibility & contrast

On white

6.82
#5743CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5743CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743CC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743CC#FFFFFF#000000##FFFFFF
##5743CC1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#156682
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5743cc;
/* rgb */ color: rgb(87, 67, 204);
/* oklch */ color: oklch(49.0% 0.201 282.7);
Tailwind
colors: {
  custom: {
    50: '#9279dd',
    500: '#5743cc',
    950: '#000000',
  },
}
SCSS
$custom: #5743cc;
$custom-light: #9279dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5743cc",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 248.759,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48977,
    "c": 0.20143,
    "h": 282.7
  },
  "luminance": 0.104
}

Semantic roles & 50–950 ramp

primary
#5743CC
secondary
#CAD398
accent
#E147CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5743CC

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

Preview Lab → · Contrast checker → · Palette generator →

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