#5743BC#5743BC

#5743BC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.6% C 0.181 H 284.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5743BC
RGBrgb(87, 67, 188)
HSLhsl(250, 47%, 50%)
HSVhsv(250, 64%, 74%)
CMYKcmyk(53.7%, 64.4%, 0%, 26.3%)
CIE-LABlab(37.24, 40.77, -61.09)
CIE-LCHlch(37.24, 73.45, 303.72°)
OKLaboklab(47.63% 0.0461 -0.1754)
OKLCHoklch(47.63% 0.181 284.7)
XYZxyz(15.0120, 9.6706, 48.6428)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743BC #A8BC43
analogous
#436CBC #5743BC #9343BC
triadic
#5743BC #BC5743 #43BC57
tetradic
#5743BC #BC436C #A8BC43 #43BC93
square
#5743BC #BC436C #A8BC43 #43BC93
split-complementary
#5743BC #BC9343 #6CBC43
monochromatic
#2D2362 #42338F #5743BC #7F70CC #A89DDC

Accessibility & contrast

On white

7.16
#5743BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5743BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5743BC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743BC#FFFFFF#000000##FFFFFF
##5743BC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#2C6179
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5743bc;
/* rgb */ color: rgb(87, 67, 188);
/* oklch */ color: oklch(47.6% 0.181 284.7);
Tailwind
colors: {
  custom: {
    50: '#8f78d1',
    500: '#5743bc',
    950: '#000000',
  },
}
SCSS
$custom: #5743bc;
$custom-light: #8f78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5743bc",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 249.917,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.18134,
    "h": 284.7
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#5743BC
secondary
#C0C992
accent
#D751C1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5743BC

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

Preview Lab → · Contrast checker → · Palette generator →

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