#5743DF#5743DF

#5743DF is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.7% C 0.224 H 280.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5743DF
RGBrgb(87, 67, 223)
HSLhsl(248, 71%, 57%)
HSVhsv(248, 70%, 87%)
CMYKcmyk(61%, 70%, 0%, 12.5%)
CIE-LABlab(40.19, 51.44, -76.53)
CIE-LCHlch(40.19, 92.21, 303.91°)
OKLaboklab(50.66% 0.0411 -0.2207)
OKLCHoklch(50.66% 0.224 280.6)
XYZxyz(19.2527, 11.3668, 70.9772)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743DF #CBDF43
analogous
#437DDF #5743DF #A543DF
triadic
#5743DF #DF5743 #43DF57
tetradic
#5743DF #DF437D #CBDF43 #43DFA5
square
#5743DF #DF437D #CBDF43 #43DFA5
split-complementary
#5743DF #DFA543 #7DDF43
monochromatic
#28188F #3621C4 #5743DF #8677E8 #B4ACF1

Accessibility & contrast

On white

6.41
#5743DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#5743DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743DF
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743DF#FFFFFF#000000##FFFFFF
##5743DF1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E4
Deuteranopia (green-blind)
#0059DC
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5743df;
/* rgb */ color: rgb(87, 67, 223);
/* oklch */ color: oklch(50.7% 0.224 280.6);
Tailwind
colors: {
  custom: {
    50: '#9579ea',
    500: '#5743df',
    950: '#000000',
  },
}
SCSS
$custom: #5743df;
$custom-light: #9579ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5743df",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 223
  },
  "hsl": {
    "h": 247.692,
    "s": 70.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50658,
    "c": 0.22447,
    "h": 280.6
  },
  "luminance": 0.11368
}

Semantic roles & 50–950 ramp

primary
#5743DF
secondary
#D7DF9F
accent
#EE3AD7
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5743DF

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

Preview Lab → · Contrast checker → · Palette generator →

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