#5746CE#5746CE

#5746CE is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.6% C 0.200 H 281.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5746CE
RGBrgb(87, 70, 206)
HSLhsl(248, 58%, 54%)
HSVhsv(248, 66%, 81%)
CMYKcmyk(57.8%, 66%, 0%, 19.2%)
CIE-LABlab(39.35, 44.57, -68.15)
CIE-LCHlch(39.35, 81.43, 303.18°)
OKLaboklab(49.6% 0.0413 -0.1961)
OKLCHoklch(49.6% 0.2 281.9)
XYZxyz(17.2578, 10.8616, 59.5677)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5746CE #BDCE46
analogous
#4679CE #5746CE #9B46CE
triadic
#5746CE #CE5746 #46CE57
tetradic
#5746CE #CE4679 #BDCE46 #46CE9B
square
#5746CE #CE4679 #BDCE46 #46CE9B
split-complementary
#5746CE #CE9B46 #79CE46
monochromatic
#2B2079 #3D2DAA #5746CE #8376DB #AFA7E8

Accessibility & contrast

On white

6.62
#5746CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5746CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5746CE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5746CE#FFFFFF#000000##FFFFFF
##5746CE1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#0F6984
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5746ce;
/* rgb */ color: rgb(87, 70, 206);
/* oklch */ color: oklch(49.6% 0.200 281.9);
Tailwind
colors: {
  custom: {
    50: '#927bde',
    500: '#5746ce',
    950: '#000000',
  },
}
SCSS
$custom: #5746ce;
$custom-light: #927bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5746ce",
  "rgb": {
    "r": 87,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 247.5,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49604,
    "c": 0.20041,
    "h": 281.9
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#5746CE
secondary
#CED59B
accent
#E146CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5746CE

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

Preview Lab → · Contrast checker → · Palette generator →

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