#5746BF#5746BF

#5746BF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.4% C 0.181 H 283.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5746BF
RGBrgb(87, 70, 191)
HSLhsl(248, 49%, 51%)
HSVhsv(248, 63%, 75%)
CMYKcmyk(54.5%, 63.4%, 0%, 25.1%)
CIE-LABlab(38.14, 39.93, -61.39)
CIE-LCHlch(38.14, 73.23, 303.04°)
OKLaboklab(48.35% 0.0429 -0.1762)
OKLCHoklch(48.35% 0.181 283.7)
XYZxyz(15.5217, 10.1672, 50.4247)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746BF #AEBF46
analogous
#4671BF #5746BF #9346BF
triadic
#5746BF #BF5746 #46BF57
tetradic
#5746BF #BF4671 #AEBF46 #46BF93
square
#5746BF #BF4671 #AEBF46 #46BF93
split-complementary
#5746BF #BF9346 #71BF46
monochromatic
#2D2467 #413394 #5746BF #8073CF #AAA1DE

Accessibility & contrast

On white

6.92
#5746BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5746BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746BF
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746BF#FFFFFF#000000##FFFFFF
##5746BF1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#29647C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5746bf;
/* rgb */ color: rgb(87, 70, 191);
/* oklch */ color: oklch(48.4% 0.181 283.7);
Tailwind
colors: {
  custom: {
    50: '#907ad3',
    500: '#5746bf',
    950: '#000000',
  },
}
SCSS
$custom: #5746bf;
$custom-light: #907ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#5746bf",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 248.43,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.1814,
    "h": 283.7
  },
  "luminance": 0.10168
}

Semantic roles & 50–950 ramp

primary
#5746BF
secondary
#C4CB96
accent
#D850C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5746BF

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

Preview Lab → · Contrast checker → · Palette generator →

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