#5745C8#5745C8

#5745C8 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.9% C 0.194 H 282.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#5745C8
RGBrgb(87, 69, 200)
HSLhsl(248, 54%, 53%)
HSVhsv(248, 66%, 78%)
CMYKcmyk(56.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(38.64, 43.29, -65.82)
CIE-LCHlch(38.64, 78.78, 303.33°)
OKLaboklab(48.94% 0.0429 -0.1893)
OKLCHoklch(48.94% 0.194 282.8)
XYZxyz(16.4807, 10.4516, 55.7813)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745C8 #B6C845
analogous
#4575C8 #5745C8 #9845C8
triadic
#5745C8 #C85745 #45C857
tetradic
#5745C8 #C84575 #B6C845 #45C898
square
#5745C8 #C84575 #B6C845 #45C898
split-complementary
#5745C8 #C89845 #75C845
monochromatic
#2C2171 #3F2FA0 #5745C8 #8274D6 #ACA3E4

Accessibility & contrast

On white

6.79
#5745C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5745C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745C8
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745C8#FFFFFF#000000##FFFFFF
##5745C81.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#1C6680
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5745c8;
/* rgb */ color: rgb(87, 69, 200);
/* oklch */ color: oklch(48.9% 0.194 282.8);
Tailwind
colors: {
  custom: {
    50: '#917ada',
    500: '#5745c8',
    950: '#000000',
  },
}
SCSS
$custom: #5745c8;
$custom-light: #917ada;
$custom-dark: #000000;
JSON
{
  "hex": "#5745c8",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 248.244,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48941,
    "c": 0.19409,
    "h": 282.8
  },
  "luminance": 0.10453
}

Semantic roles & 50–950 ramp

primary
#5745C8
secondary
#C9D198
accent
#DE4AC9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5745C8

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

Preview Lab → · Contrast checker → · Palette generator →

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