#5745DD#5745DD

#5745DD is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.8% C 0.220 H 280.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5745DD
RGBrgb(87, 69, 221)
HSLhsl(247, 69%, 57%)
HSVhsv(247, 69%, 87%)
CMYKcmyk(60.6%, 68.8%, 0%, 13.3%)
CIE-LABlab(40.41, 49.74, -75.03)
CIE-LCHlch(40.41, 90.01, 303.54°)
OKLaboklab(50.76% 0.04 -0.2163)
OKLCHoklch(50.76% 0.22 280.5)
XYZxyz(19.1056, 11.5015, 69.6058)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5745DD #CBDD45
analogous
#457FDD #5745DD #A345DD
triadic
#5745DD #DD5745 #45DD57
tetradic
#5745DD #DD457F #CBDD45 #45DDA3
square
#5745DD #DD457F #CBDD45 #45DDA3
split-complementary
#5745DD #DDA345 #7FDD45
monochromatic
#281A8E #3623C1 #5745DD #8679E6 #B4ACF0

Accessibility & contrast

On white

6.36
#5745DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5745DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5745DD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5745DD#FFFFFF#000000##FFFFFF
##5745DD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E2
Deuteranopia (green-blind)
#0059DA
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5745dd;
/* rgb */ color: rgb(87, 69, 221);
/* oklch */ color: oklch(50.8% 0.220 280.5);
Tailwind
colors: {
  custom: {
    50: '#957ae9',
    500: '#5745dd',
    950: '#000000',
  },
}
SCSS
$custom: #5745dd;
$custom-light: #957ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5745dd",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 247.105,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50763,
    "c": 0.21993,
    "h": 280.5
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#5745DD
secondary
#D7DEA0
accent
#EC3CD7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5745DD

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

Preview Lab → · Contrast checker → · Palette generator →

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