#5746BB#5746BB

#5746BB is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.0% C 0.176 H 284.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5746BB
RGBrgb(87, 70, 187)
HSLhsl(249, 46%, 50%)
HSVhsv(249, 63%, 73%)
CMYKcmyk(53.5%, 62.6%, 0%, 26.7%)
CIE-LABlab(37.83, 38.70, -59.55)
CIE-LCHlch(37.83, 71.02, 303.02°)
OKLaboklab(48.03% 0.0432 -0.1708)
OKLCHoklch(48.03% 0.176 284.2)
XYZxyz(15.0876, 9.9936, 48.1380)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746BB #AABB46
analogous
#466FBB #5746BB #9146BB
triadic
#5746BB #BB5746 #46BB57
tetradic
#5746BB #BB466F #AABB46 #46BB91
square
#5746BB #BB466F #AABB46 #46BB91
split-complementary
#5746BB #BB9146 #6FBB46
monochromatic
#2D2462 #42358F #5746BB #8073CB #A8A0DC

Accessibility & contrast

On white

7.00
#5746BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5746BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746BB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746BB#FFFFFF#000000##FFFFFF
##5746BB1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#2D627A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5746bb;
/* rgb */ color: rgb(87, 70, 187);
/* oklch */ color: oklch(48.0% 0.176 284.2);
Tailwind
colors: {
  custom: {
    50: '#8f7ad0',
    500: '#5746bb',
    950: '#000000',
  },
}
SCSS
$custom: #5746bb;
$custom-light: #8f7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#5746bb",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 248.718,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48031,
    "c": 0.17622,
    "h": 284.2
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#5746BB
secondary
#C1C894
accent
#D652C3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5746BB

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

Preview Lab → · Contrast checker → · Palette generator →

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