#5746DF#5746DF

#5746DF is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.1% C 0.221 H 280.1°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5746DF
RGBrgb(87, 70, 223)
HSLhsl(247, 71%, 57%)
HSVhsv(247, 69%, 87%)
CMYKcmyk(61%, 68.6%, 0%, 12.5%)
CIE-LABlab(40.79, 49.79, -75.55)
CIE-LCHlch(40.79, 90.49, 303.39°)
OKLaboklab(51.09% 0.039 -0.2178)
OKLCHoklch(51.09% 0.221 280.1)
XYZxyz(19.4357, 11.7328, 71.0382)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746DF #CEDF46
analogous
#4681DF #5746DF #A446DF
triadic
#5746DF #DF5746 #46DF57
tetradic
#5746DF #DF4681 #CEDF46 #46DFA4
square
#5746DF #DF4681 #CEDF46 #46DFA4
split-complementary
#5746DF #DFA446 #81DF46
monochromatic
#271991 #3422C6 #5746DF #867AE8 #B6AEF1

Accessibility & contrast

On white

6.27
#5746DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5746DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746DF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746DF#FFFFFF#000000##FFFFFF
##5746DF1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#005ADC
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5746df;
/* rgb */ color: rgb(87, 70, 223);
/* oklch */ color: oklch(51.1% 0.221 280.1);
Tailwind
colors: {
  custom: {
    50: '#957bea',
    500: '#5746df',
    950: '#000000',
  },
}
SCSS
$custom: #5746df;
$custom-light: #957bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5746df",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 246.667,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51085,
    "c": 0.22127,
    "h": 280.1
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#5746DF
secondary
#D8DFA2
accent
#ED3BD9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5746DF

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

Preview Lab → · Contrast checker → · Palette generator →

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