#5749CC#5749CC

#5749CC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.9% C 0.194 H 281.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5749CC
RGBrgb(87, 73, 204)
HSLhsl(246, 56%, 54%)
HSVhsv(246, 64%, 80%)
CMYKcmyk(57.4%, 64.2%, 0%, 20%)
CIE-LABlab(39.83, 42.21, -66.20)
CIE-LCHlch(39.83, 78.51, 302.52°)
OKLaboklab(49.91% 0.0389 -0.1904)
OKLCHoklch(49.91% 0.194 281.6)
XYZxyz(17.2087, 11.1498, 58.3604)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749CC #BECC49
analogous
#497DCC #5749CC #9949CC
triadic
#5749CC #CC5749 #49CC57
tetradic
#5749CC #CC497D #BECC49 #49CC99
square
#5749CC #CC497D #BECC49 #49CC99
split-complementary
#5749CC #CC9949 #7DCC49
monochromatic
#2B2279 #3C2FA9 #5749CC #8379D9 #AFA9E7

Accessibility & contrast

On white

6.50
#5749CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5749CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749CC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749CC#FFFFFF#000000##FFFFFF
##5749CC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#136A84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5749cc;
/* rgb */ color: rgb(87, 73, 204);
/* oklch */ color: oklch(49.9% 0.194 281.6);
Tailwind
colors: {
  custom: {
    50: '#927ddd',
    500: '#5749cc',
    950: '#000000',
  },
}
SCSS
$custom: #5749cc;
$custom-light: #927ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5749cc",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 246.412,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49905,
    "c": 0.19432,
    "h": 281.6
  },
  "luminance": 0.11151
}

Semantic roles & 50–950 ramp

primary
#5749CC
secondary
#CED49D
accent
#E048CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5749CC

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

Preview Lab → · Contrast checker → · Palette generator →

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