#5749BB#5749BB

#5749BB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.5% C 0.172 H 283.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5749BB
RGBrgb(87, 73, 187)
HSLhsl(247, 46%, 51%)
HSVhsv(247, 61%, 73%)
CMYKcmyk(53.5%, 61%, 0%, 26.7%)
CIE-LABlab(38.51, 36.90, -58.44)
CIE-LCHlch(38.51, 69.12, 302.27°)
OKLaboklab(48.53% 0.0402 -0.1676)
OKLCHoklch(48.53% 0.172 283.5)
XYZxyz(15.2799, 10.3783, 48.2021)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5749BB #ADBB49
analogous
#4974BB #5749BB #9049BB
triadic
#5749BB #BB5749 #49BB57
tetradic
#5749BB #BB4974 #ADBB49 #49BB90
square
#5749BB #BB4974 #ADBB49 #49BB90
split-complementary
#5749BB #BB9049 #74BB49
monochromatic
#2D2564 #413691 #5749BB #8076CC #A9A2DC

Accessibility & contrast

On white

6.83
#5749BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5749BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5749BB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5749BB#FFFFFF#000000##FFFFFF
##5749BB1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#2C647B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5749bb;
/* rgb */ color: rgb(87, 73, 187);
/* oklch */ color: oklch(48.5% 0.172 283.5);
Tailwind
colors: {
  custom: {
    50: '#8f7cd0',
    500: '#5749bb',
    950: '#000000',
  },
}
SCSS
$custom: #5749bb;
$custom-light: #8f7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5749bb",
  "rgb": {
    "r": 87,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 247.368,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4853,
    "c": 0.17232,
    "h": 283.5
  },
  "luminance": 0.10379
}

Semantic roles & 50–950 ramp

primary
#5749BB
secondary
#C3C997
accent
#D553C5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5749BB

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

Preview Lab → · Contrast checker → · Palette generator →

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