#5641C8#5641C8

#5641C8 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.3% C 0.199 H 283.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5641C8
RGBrgb(86, 65, 200)
HSLhsl(249, 55%, 52%)
HSVhsv(249, 68%, 78%)
CMYKcmyk(57%, 67.5%, 0%, 21.6%)
CIE-LABlab(37.71, 45.42, -67.34)
CIE-LCHlch(37.71, 81.23, 304.00°)
OKLaboklab(48.25% 0.0451 -0.1938)
OKLCHoklch(48.25% 0.199 283.1)
XYZxyz(16.1502, 9.9281, 55.6977)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641C8 #B3C841
analogous
#4170C8 #5641C8 #9941C8
triadic
#5641C8 #C85641 #41C856
tetradic
#5641C8 #C84170 #B3C841 #41C899
square
#5641C8 #C84170 #B3C841 #41C899
split-complementary
#5641C8 #C89941 #70C841
monochromatic
#2C206F #3F2E9E #5641C8 #8070D6 #AAA0E3

Accessibility & contrast

On white

7.03
#5641C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5641C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5641C8
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641C8#FFFFFF#000000##FFFFFF
##5641C81.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#19647F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5641c8;
/* rgb */ color: rgb(86, 65, 200);
/* oklch */ color: oklch(48.3% 0.199 283.1);
Tailwind
colors: {
  custom: {
    50: '#9177da',
    500: '#5641c8',
    950: '#000000',
  },
}
SCSS
$custom: #5641c8;
$custom-light: #9177da;
$custom-dark: #000000;
JSON
{
  "hex": "#5641c8",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 249.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4825,
    "c": 0.19895,
    "h": 283.1
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#5641C8
secondary
#C7D095
accent
#DE49C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5641C8

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

Preview Lab → · Contrast checker → · Palette generator →

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