#5645DD#5645DD

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

Color values

HEX#5645DD
RGBrgb(86, 69, 221)
HSLhsl(247, 69%, 57%)
HSVhsv(247, 69%, 87%)
CMYKcmyk(61.1%, 68.8%, 0%, 13.3%)
CIE-LABlab(40.33, 49.60, -75.16)
CIE-LCHlch(40.33, 90.05, 303.42°)
OKLaboklab(50.69% 0.0387 -0.2167)
OKLCHoklch(50.69% 0.22 280.1)
XYZxyz(19.0129, 11.4537, 69.6015)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5645DD #CCDD45
analogous
#4580DD #5645DD #A245DD
triadic
#5645DD #DD5645 #45DD56
tetradic
#5645DD #DD4580 #CCDD45 #45DDA2
square
#5645DD #DD4580 #CCDD45 #45DDA2
split-complementary
#5645DD #DDA245 #80DD45
monochromatic
#271A8E #3523C1 #5645DD #8579E6 #B4ACF0

Accessibility & contrast

On white

6.38
#5645DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#5645DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5645DD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5645DD#FFFFFF#000000##FFFFFF
##5645DD1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.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: #5645dd;
/* rgb */ color: rgb(86, 69, 221);
/* oklch */ color: oklch(50.7% 0.220 280.1);
Tailwind
colors: {
  custom: {
    50: '#947ae9',
    500: '#5645dd',
    950: '#000000',
  },
}
SCSS
$custom: #5645dd;
$custom-light: #947ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#5645dd",
  "rgb": {
    "r": 86,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 246.711,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50687,
    "c": 0.22011,
    "h": 280.1
  },
  "luminance": 0.11455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5645DD

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

Preview Lab → · Contrast checker → · Palette generator →

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