#5745DF#5745DF

#5745DF is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.222 H 280.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5745DF
RGBrgb(87, 69, 223)
HSLhsl(247, 71%, 57%)
HSVhsv(247, 69%, 87%)
CMYKcmyk(61%, 69.1%, 0%, 12.5%)
CIE-LABlab(40.59, 50.35, -75.88)
CIE-LCHlch(40.59, 91.06, 303.56°)
OKLaboklab(50.94% 0.0397 -0.2188)
OKLCHoklch(50.94% 0.222 280.3)
XYZxyz(19.3737, 11.6088, 71.0175)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745DF #CDDF45
analogous
#4580DF #5745DF #A445DF
triadic
#5745DF #DF5745 #45DF57
tetradic
#5745DF #DF4580 #CDDF45 #45DFA4
square
#5745DF #DF4580 #CDDF45 #45DFA4
split-complementary
#5745DF #DFA445 #80DF45
monochromatic
#271991 #3522C5 #5745DF #8679E8 #B5ADF1

Accessibility & contrast

On white

6.32
#5745DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5745DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745DF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745DF#FFFFFF#000000##FFFFFF
##5745DF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#005ADC
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5745df;
/* rgb */ color: rgb(87, 69, 223);
/* oklch */ color: oklch(50.9% 0.222 280.3);
Tailwind
colors: {
  custom: {
    50: '#957bea',
    500: '#5745df',
    950: '#000000',
  },
}
SCSS
$custom: #5745df;
$custom-light: #957bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5745df",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 247.013,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50941,
    "c": 0.22234,
    "h": 280.3
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#5745DF
secondary
#D8DFA1
accent
#ED3AD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5745DF

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

Preview Lab → · Contrast checker → · Palette generator →

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