#5743CF#5743CF

#5743CF is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.205 H 282.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#5743CF
RGBrgb(87, 67, 207)
HSLhsl(249, 59%, 54%)
HSVhsv(249, 68%, 81%)
CMYKcmyk(58%, 67.6%, 0%, 18.8%)
CIE-LABlab(38.80, 46.58, -69.62)
CIE-LCHlch(38.80, 83.76, 303.79°)
OKLaboklab(49.24% 0.0437 -0.2004)
OKLCHoklch(49.24% 0.205 282.3)
XYZxyz(17.1966, 10.5444, 60.1485)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743CF #BBCF43
analogous
#4375CF #5743CF #9D43CF
triadic
#5743CF #CF5743 #43CF57
tetradic
#5743CF #CF4375 #BBCF43 #43CF9D
square
#5743CF #CF4375 #BBCF43 #43CF9D
split-complementary
#5743CF #CF9D43 #75CF43
monochromatic
#2C1F79 #3D2BAA #5743CF #8374DB #AEA5E8

Accessibility & contrast

On white

6.75
#5743CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5743CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743CF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743CF#FFFFFF#000000##FFFFFF
##5743CF1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0056CC
Tritanopia (blue-blind)
#0C6784
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5743cf;
/* rgb */ color: rgb(87, 67, 207);
/* oklch */ color: oklch(49.2% 0.205 282.3);
Tailwind
colors: {
  custom: {
    50: '#9279df',
    500: '#5743cf',
    950: '#000000',
  },
}
SCSS
$custom: #5743cf;
$custom-light: #9279df;
$custom-dark: #000000;
JSON
{
  "hex": "#5743cf",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 248.571,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49237,
    "c": 0.20513,
    "h": 282.3
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#5743CF
secondary
#CCD599
accent
#E345CC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5743CF

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

Preview Lab → · Contrast checker → · Palette generator →

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