#5745D2#5745D2

#5745D2 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.8% C 0.207 H 281.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#5745D2
RGBrgb(87, 69, 210)
HSLhsl(248, 61%, 55%)
HSVhsv(248, 67%, 82%)
CMYKcmyk(58.6%, 67.1%, 0%, 17.6%)
CIE-LABlab(39.47, 46.37, -70.26)
CIE-LCHlch(39.47, 84.18, 303.42°)
OKLaboklab(49.8% 0.0417 -0.2023)
OKLCHoklch(49.8% 0.207 281.6)
XYZxyz(17.6878, 10.9344, 62.1388)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745D2 #C0D245
analogous
#4579D2 #5745D2 #9E45D2
triadic
#5745D2 #D25745 #45D257
tetradic
#5745D2 #D24579 #C0D245 #45D29E
square
#5745D2 #D24579 #C0D245 #45D29E
split-complementary
#5745D2 #D29E45 #79D245
monochromatic
#2B1F7E #3B2AAF #5745D2 #8476DE #B0A8EA

Accessibility & contrast

On white

6.59
#5745D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5745D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745D2
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745D2#FFFFFF#000000##FFFFFF
##5745D21.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0058CF
Tritanopia (blue-blind)
#006A86
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5745d2;
/* rgb */ color: rgb(87, 69, 210);
/* oklch */ color: oklch(49.8% 0.207 281.6);
Tailwind
colors: {
  custom: {
    50: '#937ae1',
    500: '#5745d2',
    950: '#000000',
  },
}
SCSS
$custom: #5745d2;
$custom-light: #937ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#5745d2",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 247.66,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.20653,
    "h": 281.6
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#5745D2
secondary
#D0D79C
accent
#E444D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5745D2

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

Preview Lab → · Contrast checker → · Palette generator →

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