#5641CB#5641CB

#5641CB is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.5% C 0.203 H 282.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#5641CB
RGBrgb(86, 65, 203)
HSLhsl(249, 57%, 53%)
HSVhsv(249, 68%, 80%)
CMYKcmyk(57.6%, 68%, 0%, 20.4%)
CIE-LABlab(37.97, 46.33, -68.67)
CIE-LCHlch(37.97, 82.84, 304.01°)
OKLaboklab(48.51% 0.0447 -0.1977)
OKLCHoklch(48.51% 0.203 282.7)
XYZxyz(16.5042, 10.0698, 57.5623)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641CB #B6CB41
analogous
#4171CB #5641CB #9B41CB
triadic
#5641CB #CB5641 #41CB56
tetradic
#5641CB #CB4171 #B6CB41 #41CB9B
square
#5641CB #CB4171 #B6CB41 #41CB9B
split-complementary
#5641CB #CB9B41 #71CB41
monochromatic
#2C1F72 #3E2CA2 #5641CB #8171D8 #ABA1E5

Accessibility & contrast

On white

6.97
#5641CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5641CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641CB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641CB#FFFFFF#000000##FFFFFF
##5641CB1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#126581
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5641cb;
/* rgb */ color: rgb(86, 65, 203);
/* oklch */ color: oklch(48.5% 0.203 282.7);
Tailwind
colors: {
  custom: {
    50: '#9177dc',
    500: '#5641cb',
    950: '#000000',
  },
}
SCSS
$custom: #5641cb;
$custom-light: #9177dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5641cb",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 249.13,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48511,
    "c": 0.20264,
    "h": 282.7
  },
  "luminance": 0.10071
}

Semantic roles & 50–950 ramp

primary
#5641CB
secondary
#C9D296
accent
#E048C9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5641CB

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

Preview Lab → · Contrast checker → · Palette generator →

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