#5749CA#5749CA

#5749CA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.192 H 281.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5749CA
RGBrgb(87, 73, 202)
HSLhsl(247, 55%, 54%)
HSVhsv(247, 64%, 79%)
CMYKcmyk(56.9%, 63.9%, 0%, 20.8%)
CIE-LABlab(39.67, 41.58, -65.30)
CIE-LCHlch(39.67, 77.42, 302.49°)
OKLaboklab(49.74% 0.0391 -0.1877)
OKLCHoklch(49.74% 0.192 281.8)
XYZxyz(16.9704, 11.0545, 57.1051)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749CA #BCCA49
analogous
#497CCA #5749CA #9849CA
triadic
#5749CA #CA5749 #49CA57
tetradic
#5749CA #CA497C #BCCA49 #49CA98
square
#5749CA #CA497C #BCCA49 #49CA98
split-complementary
#5749CA #CA9849 #7CCA49
monochromatic
#2C2276 #3D30A6 #5749CA #8378D8 #AFA8E6

Accessibility & contrast

On white

6.54
#5749CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5749CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749CA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749CA#FFFFFF#000000##FFFFFF
##5749CA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#186983
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5749ca;
/* rgb */ color: rgb(87, 73, 202);
/* oklch */ color: oklch(49.7% 0.192 281.8);
Tailwind
colors: {
  custom: {
    50: '#917ddb',
    500: '#5749ca',
    950: '#000000',
  },
}
SCSS
$custom: #5749ca;
$custom-light: #917ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5749ca",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 246.512,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.19177,
    "h": 281.8
  },
  "luminance": 0.11056
}

Semantic roles & 50–950 ramp

primary
#5749CA
secondary
#CDD39C
accent
#DE4ACE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5749CA

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

Preview Lab → · Contrast checker → · Palette generator →

#5749CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva