#5746E5#5746E5

#5746E5 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.228 H 279.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5746E5
RGBrgb(87, 70, 229)
HSLhsl(246, 75%, 59%)
HSVhsv(246, 69%, 90%)
CMYKcmyk(62%, 69.4%, 0%, 10.2%)
CIE-LABlab(41.31, 51.63, -78.10)
CIE-LCHlch(41.31, 93.63, 303.46°)
OKLaboklab(51.62% 0.038 -0.2253)
OKLCHoklch(51.62% 0.228 279.6)
XYZxyz(20.2590, 12.0621, 75.3742)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746E5 #D4E546
analogous
#4684E5 #5746E5 #A646E5
triadic
#5746E5 #E55746 #46E557
tetradic
#5746E5 #E54684 #D4E546 #46E5A6
square
#5746E5 #E54684 #D4E546 #46E5A6
split-complementary
#5746E5 #E5A646 #84E546
monochromatic
#24169B #301DD0 #5746E5 #887CED #B8B1F4

Accessibility & contrast

On white

6.15
#5746E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5746E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746E5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746E5#FFFFFF#000000##FFFFFF
##5746E51.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067EA
Deuteranopia (green-blind)
#005BE2
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5746e5;
/* rgb */ color: rgb(87, 70, 229);
/* oklch */ color: oklch(51.6% 0.228 279.6);
Tailwind
colors: {
  custom: {
    50: '#967bee',
    500: '#5746e5',
    950: '#000000',
  },
}
SCSS
$custom: #5746e5;
$custom-light: #967bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5746e5",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 246.415,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51623,
    "c": 0.22846,
    "h": 279.6
  },
  "luminance": 0.12064
}

Semantic roles & 50–950 ramp

primary
#5746E5
secondary
#DCE3A4
accent
#F236DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5746E5

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

Preview Lab → · Contrast checker → · Palette generator →

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