#5745CC#5745CC

#5745CC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.3% C 0.199 H 282.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5745CC
RGBrgb(87, 69, 204)
HSLhsl(248, 57%, 54%)
HSVhsv(248, 66%, 80%)
CMYKcmyk(57.4%, 66.2%, 0%, 20%)
CIE-LABlab(38.97, 44.52, -67.61)
CIE-LCHlch(38.97, 80.95, 303.37°)
OKLaboklab(49.28% 0.0425 -0.1945)
OKLCHoklch(49.28% 0.199 282.3)
XYZxyz(16.9543, 10.6410, 58.2756)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745CC #BACC45
analogous
#4576CC #5745CC #9A45CC
triadic
#5745CC #CC5745 #45CC57
tetradic
#5745CC #CC4576 #BACC45 #45CC9A
square
#5745CC #CC4576 #BACC45 #45CC9A
split-complementary
#5745CC #CC9A45 #76CC45
monochromatic
#2C2076 #3E2EA6 #5745CC #8275D9 #AEA5E6

Accessibility & contrast

On white

6.71
#5745CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5745CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745CC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745CC#FFFFFF#000000##FFFFFF
##5745CC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#146883
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5745cc;
/* rgb */ color: rgb(87, 69, 204);
/* oklch */ color: oklch(49.3% 0.199 282.3);
Tailwind
colors: {
  custom: {
    50: '#927add',
    500: '#5745cc',
    950: '#000000',
  },
}
SCSS
$custom: #5745cc;
$custom-light: #927add;
$custom-dark: #000000;
JSON
{
  "hex": "#5745cc",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 248,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4928,
    "c": 0.1991,
    "h": 282.3
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#5745CC
secondary
#CCD399
accent
#E048CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5745CC

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

Preview Lab → · Contrast checker → · Palette generator →

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