#5641CD#5641CD

#5641CD is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.7% C 0.205 H 282.5°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5641CD
RGBrgb(86, 65, 205)
HSLhsl(249, 58%, 53%)
HSVhsv(249, 68%, 80%)
CMYKcmyk(58%, 68.3%, 0%, 19.6%)
CIE-LABlab(38.14, 46.94, -69.55)
CIE-LCHlch(38.14, 83.91, 304.01°)
OKLaboklab(48.69% 0.0444 -0.2002)
OKLCHoklch(48.69% 0.205 282.5)
XYZxyz(16.7441, 10.1657, 58.8256)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641CD #B8CD41
analogous
#4172CD #5641CD #9C41CD
triadic
#5641CD #CD5641 #41CD56
tetradic
#5641CD #CD4172 #B8CD41 #41CD9C
square
#5641CD #CD4172 #B8CD41 #41CD9C
split-complementary
#5641CD #CD9C41 #72CD41
monochromatic
#2C1F75 #3E2CA5 #5641CD #8171DA #ACA2E6

Accessibility & contrast

On white

6.92
#5641CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5641CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641CD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641CD#FFFFFF#000000##FFFFFF
##5641CD1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#0C6682
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5641cd;
/* rgb */ color: rgb(86, 65, 205);
/* oklch */ color: oklch(48.7% 0.205 282.5);
Tailwind
colors: {
  custom: {
    50: '#9277dd',
    500: '#5641cd',
    950: '#000000',
  },
}
SCSS
$custom: #5641cd;
$custom-light: #9277dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5641cd",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 249,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.20509,
    "h": 282.5
  },
  "luminance": 0.10167
}

Semantic roles & 50–950 ramp

primary
#5641CD
secondary
#CAD397
accent
#E246CA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5641CD

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

Preview Lab → · Contrast checker → · Palette generator →

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