#5743C8#5743C8

#5743C8 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.6% C 0.196 H 283.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5743C8
RGBrgb(87, 67, 200)
HSLhsl(249, 55%, 52%)
HSVhsv(249, 67%, 78%)
CMYKcmyk(56.5%, 66.5%, 0%, 21.6%)
CIE-LABlab(38.22, 44.44, -66.52)
CIE-LCHlch(38.22, 80.00, 303.75°)
OKLaboklab(48.63% 0.0447 -0.1913)
OKLCHoklch(48.63% 0.196 283.2)
XYZxyz(16.3598, 10.2097, 55.7410)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5743C8 #B4C843
analogous
#4371C8 #5743C8 #9A43C8
triadic
#5743C8 #C85743 #43C857
tetradic
#5743C8 #C84371 #B4C843 #43C89A
square
#5743C8 #C84371 #B4C843 #43C89A
split-complementary
#5743C8 #C89A43 #71C843
monochromatic
#2D2170 #402F9F #5743C8 #8172D6 #ACA2E4

Accessibility & contrast

On white

6.90
#5743C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5743C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5743C8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5743C8#FFFFFF#000000##FFFFFF
##5743C81.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#1D6580
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5743c8;
/* rgb */ color: rgb(87, 67, 200);
/* oklch */ color: oklch(48.6% 0.196 283.2);
Tailwind
colors: {
  custom: {
    50: '#9179da',
    500: '#5743c8',
    950: '#000000',
  },
}
SCSS
$custom: #5743c8;
$custom-light: #9179da;
$custom-dark: #000000;
JSON
{
  "hex": "#5743c8",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 249.023,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.19647,
    "h": 283.2
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#5743C8
secondary
#C8D096
accent
#DE4AC8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5743C8

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

Preview Lab → · Contrast checker → · Palette generator →

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