#5641E3#5641E3

#5641E3 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.7% C 0.231 H 280.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5641E3
RGBrgb(86, 65, 227)
HSLhsl(248, 74%, 57%)
HSVhsv(248, 71%, 89%)
CMYKcmyk(62.1%, 71.4%, 0%, 11%)
CIE-LABlab(40.09, 53.59, -78.99)
CIE-LCHlch(40.09, 95.45, 304.15°)
OKLaboklab(50.67% 0.0405 -0.2279)
OKLCHoklch(50.67% 0.231 280.1)
XYZxyz(19.5888, 11.3036, 73.8077)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5641E3 #CEE341
analogous
#417DE3 #5641E3 #A741E3
triadic
#5641E3 #E35641 #41E356
tetradic
#5641E3 #E3417D #CEE341 #41E3A7
square
#5641E3 #E3417D #CEE341 #41E3A7
split-complementary
#5641E3 #E3A741 #7DE341
monochromatic
#261694 #341EC9 #5641E3 #8576EB #B5ACF3

Accessibility & contrast

On white

6.44
#5641E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5641E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5641E3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5641E3#FFFFFF#000000##FFFFFF
##5641E31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E8
Deuteranopia (green-blind)
#0058E0
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5641e3;
/* rgb */ color: rgb(86, 65, 227);
/* oklch */ color: oklch(50.7% 0.231 280.1);
Tailwind
colors: {
  custom: {
    50: '#9678ed',
    500: '#5641e3',
    950: '#000000',
  },
}
SCSS
$custom: #5641e3;
$custom-light: #9678ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5641e3",
  "rgb": {
    "r": 86,
    "g": 65,
    "b": 227
  },
  "hsl": {
    "h": 247.778,
    "s": 74.312,
    "l": 57.255
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.23144,
    "h": 280.1
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#5641E3
secondary
#D8E19F
accent
#F137D9
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5641E3

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

Preview Lab → · Contrast checker → · Palette generator →

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