#5743CB#5743CB

#5743CB is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.200 H 282.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5743CB
RGBrgb(87, 67, 203)
HSLhsl(249, 57%, 53%)
HSVhsv(249, 67%, 80%)
CMYKcmyk(57.1%, 67%, 0%, 20.4%)
CIE-LABlab(38.47, 45.36, -67.85)
CIE-LCHlch(38.47, 81.62, 303.76°)
OKLaboklab(48.89% 0.0443 -0.1952)
OKLCHoklch(48.89% 0.2 282.8)
XYZxyz(16.7138, 10.3513, 57.6056)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743CB #B7CB43
analogous
#4373CB #5743CB #9B43CB
triadic
#5743CB #CB5743 #43CB57
tetradic
#5743CB #CB4373 #B7CB43 #43CB9B
square
#5743CB #CB4373 #B7CB43 #43CB9B
split-complementary
#5743CB #CB9B43 #73CB43
monochromatic
#2C2074 #3F2DA4 #5743CB #8273D8 #ADA3E6

Accessibility & contrast

On white

6.84
#5743CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5743CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743CB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743CB#FFFFFF#000000##FFFFFF
##5743CB1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#176681
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5743cb;
/* rgb */ color: rgb(87, 67, 203);
/* oklch */ color: oklch(48.9% 0.200 282.8);
Tailwind
colors: {
  custom: {
    50: '#9279dc',
    500: '#5743cb',
    950: '#000000',
  },
}
SCSS
$custom: #5743cb;
$custom-light: #9279dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5743cb",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 248.824,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48891,
    "c": 0.20019,
    "h": 282.8
  },
  "luminance": 0.10352
}

Semantic roles & 50–950 ramp

primary
#5743CB
secondary
#CAD298
accent
#E048CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5743CB

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

Preview Lab → · Contrast checker → · Palette generator →

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