#5746DE#5746DE

#5746DE is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.0% C 0.220 H 280.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5746DE
RGBrgb(87, 70, 222)
HSLhsl(247, 70%, 57%)
HSVhsv(247, 68%, 87%)
CMYKcmyk(60.8%, 68.5%, 0%, 12.9%)
CIE-LABlab(40.70, 49.49, -75.12)
CIE-LCHlch(40.70, 89.96, 303.37°)
OKLaboklab(51% 0.0391 -0.2165)
OKLCHoklch(51% 0.22 280.2)
XYZxyz(19.3013, 11.6791, 70.3303)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746DE #CDDE46
analogous
#4681DE #5746DE #A346DE
triadic
#5746DE #DE5746 #46DE57
tetradic
#5746DE #DE4681 #CDDE46 #46DEA3
square
#5746DE #DE4681 #CDDE46 #46DEA3
split-complementary
#5746DE #DEA346 #81DE46
monochromatic
#271A90 #3523C4 #5746DE #867AE7 #B5AEF1

Accessibility & contrast

On white

6.29
#5746DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5746DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746DE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746DE#FFFFFF#000000##FFFFFF
##5746DE1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E3
Deuteranopia (green-blind)
#005ADB
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5746de;
/* rgb */ color: rgb(87, 70, 222);
/* oklch */ color: oklch(51.0% 0.220 280.2);
Tailwind
colors: {
  custom: {
    50: '#957be9',
    500: '#5746de',
    950: '#000000',
  },
}
SCSS
$custom: #5746de;
$custom-light: #957be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5746de",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 222
  },
  "hsl": {
    "h": 246.711,
    "s": 69.725,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50996,
    "c": 0.22005,
    "h": 280.2
  },
  "luminance": 0.1168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5746DE

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

Preview Lab → · Contrast checker → · Palette generator →

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