#5745CD#5745CD

#5745CD is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.4% C 0.200 H 282.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5745CD
RGBrgb(87, 69, 205)
HSLhsl(248, 58%, 54%)
HSVhsv(248, 66%, 80%)
CMYKcmyk(57.6%, 66.3%, 0%, 19.6%)
CIE-LABlab(39.05, 44.83, -68.05)
CIE-LCHlch(39.05, 81.49, 303.38°)
OKLaboklab(49.36% 0.0423 -0.1958)
OKLCHoklch(49.36% 0.2 282.2)
XYZxyz(17.0746, 10.6891, 58.9092)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745CD #BBCD45
analogous
#4577CD #5745CD #9B45CD
triadic
#5745CD #CD5745 #45CD57
tetradic
#5745CD #CD4577 #BBCD45 #45CD9B
square
#5745CD #CD4577 #BBCD45 #45CD9B
split-complementary
#5745CD #CD9B45 #77CD45
monochromatic
#2C2077 #3D2DA8 #5745CD #8375DA #AEA5E7

Accessibility & contrast

On white

6.69
#5745CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5745CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745CD
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745CD#FFFFFF#000000##FFFFFF
##5745CD1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#126883
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5745cd;
/* rgb */ color: rgb(87, 69, 205);
/* oklch */ color: oklch(49.4% 0.200 282.2);
Tailwind
colors: {
  custom: {
    50: '#927add',
    500: '#5745cd',
    950: '#000000',
  },
}
SCSS
$custom: #5745cd;
$custom-light: #927add;
$custom-dark: #000000;
JSON
{
  "hex": "#5745cd",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 247.941,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49365,
    "c": 0.20034,
    "h": 282.2
  },
  "luminance": 0.1069
}

Semantic roles & 50–950 ramp

primary
#5745CD
secondary
#CCD49A
accent
#E147CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5745CD

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

Preview Lab → · Contrast checker → · Palette generator →

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