#5749AC#5749AC

#5749AC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.4% C 0.152 H 285.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5749AC
RGBrgb(87, 73, 172)
HSLhsl(248, 40%, 48%)
HSVhsv(248, 58%, 67%)
CMYKcmyk(49.4%, 57.6%, 0%, 32.5%)
CIE-LABlab(37.42, 32.24, -51.35)
CIE-LCHlch(37.42, 60.63, 302.13°)
OKLaboklab(47.39% 0.0406 -0.1467)
OKLCHoklch(47.39% 0.152 285.5)
XYZxyz(13.7572, 9.7692, 40.1825)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749AC #9EAC49
analogous
#496CAC #5749AC #8849AC
triadic
#5749AC #AC5749 #49AC57
tetradic
#5749AC #AC496C #9EAC49 #49AC88
square
#5749AC #AC496C #9EAC49 #49AC88
split-complementary
#5749AC #AC8849 #6CAC49
monochromatic
#2C2556 #413781 #5749AC #7C70C2 #A39BD5

Accessibility & contrast

On white

7.11
#5749AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5749AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5749AC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749AC#FFFFFF#000000##FFFFFF
##5749AC1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#395F73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5749ac;
/* rgb */ color: rgb(87, 73, 172);
/* oklch */ color: oklch(47.4% 0.152 285.5);
Tailwind
colors: {
  custom: {
    50: '#8d7cc5',
    500: '#5749ac',
    950: '#000000',
  },
}
SCSS
$custom: #5749ac;
$custom-light: #8d7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5749ac",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 248.485,
    "s": 40.408,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47385,
    "c": 0.15221,
    "h": 285.5
  },
  "luminance": 0.0977
}

Semantic roles & 50–950 ramp

primary
#5749AC
secondary
#BAC190
accent
#D058BF
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5749AC

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

Preview Lab → · Contrast checker → · Palette generator →

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