#5746E7#5746E7

#5746E7 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.8% C 0.231 H 279.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5746E7
RGBrgb(87, 70, 231)
HSLhsl(246, 77%, 59%)
HSVhsv(246, 70%, 91%)
CMYKcmyk(62.3%, 69.7%, 0%, 9.4%)
CIE-LABlab(41.49, 52.24, -78.95)
CIE-LCHlch(41.49, 94.67, 303.49°)
OKLaboklab(51.8% 0.0376 -0.2277)
OKLCHoklch(51.8% 0.231 279.4)
XYZxyz(20.5398, 12.1745, 76.8533)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746E7 #D6E746
analogous
#4686E7 #5746E7 #A746E7
triadic
#5746E7 #E75746 #46E757
tetradic
#5746E7 #E74686 #D6E746 #46E7A7
square
#5746E7 #E74686 #D6E746 #46E7A7
split-complementary
#5746E7 #E7A746 #86E746
monochromatic
#23159E #2F1CD4 #5746E7 #887CEE #B9B2F5

Accessibility & contrast

On white

6.11
#5746E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5746E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746E7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746E7#FFFFFF#000000##FFFFFF
##5746E71.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EC
Deuteranopia (green-blind)
#005BE4
Tritanopia (blue-blind)
#007292
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5746e7;
/* rgb */ color: rgb(87, 70, 231);
/* oklch */ color: oklch(51.8% 0.231 279.4);
Tailwind
colors: {
  custom: {
    50: '#967bf0',
    500: '#5746e7',
    950: '#000000',
  },
}
SCSS
$custom: #5746e7;
$custom-light: #967bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5746e7",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 246.335,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51804,
    "c": 0.23084,
    "h": 279.4
  },
  "luminance": 0.12176
}

Semantic roles & 50–950 ramp

primary
#5746E7
secondary
#DDE4A5
accent
#F434DF
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5746E7

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

Preview Lab → · Contrast checker → · Palette generator →

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