#5641CE#5641CE

#5641CE is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.8% C 0.206 H 282.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#5641CE
RGBrgb(86, 65, 206)
HSLhsl(249, 59%, 53%)
HSVhsv(249, 68%, 81%)
CMYKcmyk(58.3%, 68.4%, 0%, 19.2%)
CIE-LABlab(38.22, 47.24, -69.99)
CIE-LCHlch(38.22, 84.44, 304.02°)
OKLaboklab(48.78% 0.0442 -0.2015)
OKLCHoklch(48.78% 0.206 282.4)
XYZxyz(16.8652, 10.2141, 59.4634)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641CE #B9CE41
analogous
#4172CE #5641CE #9C41CE
triadic
#5641CE #CE5641 #41CE56
tetradic
#5641CE #CE4172 #B9CE41 #41CE9C
square
#5641CE #CE4172 #B9CE41 #41CE9C
split-complementary
#5641CE #CE9C41 #72CE41
monochromatic
#2C1E76 #3D2BA7 #5641CE #8172DB #ADA2E7

Accessibility & contrast

On white

6.90
#5641CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#5641CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641CE
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641CE#FFFFFF#000000##FFFFFF
##5641CE1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#086682
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5641ce;
/* rgb */ color: rgb(86, 65, 206);
/* oklch */ color: oklch(48.8% 0.206 282.4);
Tailwind
colors: {
  custom: {
    50: '#9277de',
    500: '#5641ce',
    950: '#000000',
  },
}
SCSS
$custom: #5641ce;
$custom-light: #9277de;
$custom-dark: #000000;
JSON
{
  "hex": "#5641ce",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 206
  },
  "hsl": {
    "h": 248.936,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48775,
    "c": 0.20632,
    "h": 282.4
  },
  "luminance": 0.10215
}

Semantic roles & 50–950 ramp

primary
#5641CE
secondary
#CBD497
accent
#E246CB
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5641CE

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

Preview Lab → · Contrast checker → · Palette generator →

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