#5746CF#5746CF

#5746CF is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.7% C 0.202 H 281.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#5746CF
RGBrgb(87, 70, 207)
HSLhsl(247, 59%, 54%)
HSVhsv(247, 66%, 81%)
CMYKcmyk(58%, 66.2%, 0%, 18.8%)
CIE-LABlab(39.43, 44.88, -68.59)
CIE-LCHlch(39.43, 81.97, 303.19°)
OKLaboklab(49.69% 0.0412 -0.1974)
OKLCHoklch(49.69% 0.202 281.8)
XYZxyz(17.3796, 10.9104, 60.2095)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746CF #BECF46
analogous
#467ACF #5746CF #9B46CF
triadic
#5746CF #CF5746 #46CF57
tetradic
#5746CF #CF467A #BECF46 #46CF9B
square
#5746CF #CF467A #BECF46 #46CF9B
split-complementary
#5746CF #CF9B46 #7ACF46
monochromatic
#2B207B #3C2CAB #5746CF #8377DC #AFA7E8

Accessibility & contrast

On white

6.60
#5746CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5746CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746CF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746CF#FFFFFF#000000##FFFFFF
##5746CF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#0B6984
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5746cf;
/* rgb */ color: rgb(87, 70, 207);
/* oklch */ color: oklch(49.7% 0.202 281.8);
Tailwind
colors: {
  custom: {
    50: '#927bdf',
    500: '#5746cf',
    950: '#000000',
  },
}
SCSS
$custom: #5746cf;
$custom-light: #927bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5746cf",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 247.445,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49689,
    "c": 0.20166,
    "h": 281.8
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#5746CF
secondary
#CED59B
accent
#E246CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5746CF

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

Preview Lab → · Contrast checker → · Palette generator →

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