#5743D8#5743D8

#5743D8 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 50.0% C 0.216 H 281.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5743D8
RGBrgb(87, 67, 216)
HSLhsl(248, 66%, 55%)
HSVhsv(248, 69%, 85%)
CMYKcmyk(59.7%, 69%, 0%, 15.3%)
CIE-LABlab(39.58, 49.32, -73.53)
CIE-LCHlch(39.58, 88.54, 303.85°)
OKLaboklab(50.03% 0.0423 -0.2119)
OKLCHoklch(50.03% 0.216 281.3)
XYZxyz(18.3284, 10.9971, 66.1093)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743D8 #C4D843
analogous
#4379D8 #5743D8 #A243D8
triadic
#5743D8 #D85743 #43D857
tetradic
#5743D8 #D84379 #C4D843 #43D8A2
square
#5743D8 #D84379 #C4D843 #43D8A2
split-complementary
#5743D8 #D8A243 #79D843
monochromatic
#2A1C85 #3A26B8 #5743D8 #8476E3 #B2A8ED

Accessibility & contrast

On white

6.56
#5743D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5743D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743D8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743D8#FFFFFF#000000##FFFFFF
##5743D81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0058D5
Tritanopia (blue-blind)
#006B88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5743d8;
/* rgb */ color: rgb(87, 67, 216);
/* oklch */ color: oklch(50.0% 0.216 281.3);
Tailwind
colors: {
  custom: {
    50: '#9479e5',
    500: '#5743d8',
    950: '#000000',
  },
}
SCSS
$custom: #5743d8;
$custom-light: #9479e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5743d8",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 248.054,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5003,
    "c": 0.21608,
    "h": 281.3
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#5743D8
secondary
#D2DA9C
accent
#E93FD2
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5743D8

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

Preview Lab → · Contrast checker → · Palette generator →

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