#5746E6#5746E6

#5746E6 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.7% C 0.230 H 279.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5746E6
RGBrgb(87, 70, 230)
HSLhsl(246, 76%, 59%)
HSVhsv(246, 70%, 90%)
CMYKcmyk(62.2%, 69.6%, 0%, 9.8%)
CIE-LABlab(41.40, 51.93, -78.53)
CIE-LCHlch(41.40, 94.15, 303.48°)
OKLaboklab(51.71% 0.0378 -0.2265)
OKLCHoklch(51.71% 0.23 279.5)
XYZxyz(20.3990, 12.1181, 76.1116)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746E6 #D5E646
analogous
#4685E6 #5746E6 #A746E6
triadic
#5746E6 #E65746 #46E657
tetradic
#5746E6 #E64685 #D5E646 #46E6A7
square
#5746E6 #E64685 #D5E646 #46E6A7
split-complementary
#5746E6 #E6A746 #85E646
monochromatic
#24159C #301CD2 #5746E6 #887CED #B9B2F5

Accessibility & contrast

On white

6.13
#5746E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5746E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746E6
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746E6#FFFFFF#000000##FFFFFF
##5746E61.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005BE3
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5746e6;
/* rgb */ color: rgb(87, 70, 230);
/* oklch */ color: oklch(51.7% 0.230 279.5);
Tailwind
colors: {
  custom: {
    50: '#967bef',
    500: '#5746e6',
    950: '#000000',
  },
}
SCSS
$custom: #5746e6;
$custom-light: #967bef;
$custom-dark: #000000;
JSON
{
  "hex": "#5746e6",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 230
  },
  "hsl": {
    "h": 246.375,
    "s": 76.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.51713,
    "c": 0.22964,
    "h": 279.5
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#5746E6
secondary
#DDE3A4
accent
#F335DF
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5746E6

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

Preview Lab → · Contrast checker → · Palette generator →

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