#5745CE#5745CE

#5745CE is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.202 H 282.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5745CE
RGBrgb(87, 69, 206)
HSLhsl(248, 58%, 54%)
HSVhsv(248, 67%, 81%)
CMYKcmyk(57.8%, 66.5%, 0%, 19.2%)
CIE-LABlab(39.13, 45.14, -68.49)
CIE-LCHlch(39.13, 82.03, 303.39°)
OKLaboklab(49.45% 0.0422 -0.1971)
OKLCHoklch(49.45% 0.202 282.1)
XYZxyz(17.1957, 10.7376, 59.5470)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745CE #BCCE45
analogous
#4578CE #5745CE #9C45CE
triadic
#5745CE #CE5745 #45CE57
tetradic
#5745CE #CE4578 #BCCE45 #45CE9C
square
#5745CE #CE4578 #BCCE45 #45CE9C
split-complementary
#5745CE #CE9C45 #78CE45
monochromatic
#2C2079 #3D2DA9 #5745CE #8375DB #AFA6E8

Accessibility & contrast

On white

6.67
#5745CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5745CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745CE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745CE#FFFFFF#000000##FFFFFF
##5745CE1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0057CB
Tritanopia (blue-blind)
#0F6884
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5745ce;
/* rgb */ color: rgb(87, 69, 206);
/* oklch */ color: oklch(49.5% 0.202 282.1);
Tailwind
colors: {
  custom: {
    50: '#927ade',
    500: '#5745ce',
    950: '#000000',
  },
}
SCSS
$custom: #5745ce;
$custom-light: #927ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5745ce",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 247.883,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.20158,
    "h": 282.1
  },
  "luminance": 0.10739
}

Semantic roles & 50–950 ramp

primary
#5745CE
secondary
#CDD59A
accent
#E246CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5745CE

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

Preview Lab → · Contrast checker → · Palette generator →

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