#5643E3#5643E3

#5643E3 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.9% C 0.229 H 279.8°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5643E3
RGBrgb(86, 67, 227)
HSLhsl(247, 74%, 58%)
HSVhsv(247, 70%, 89%)
CMYKcmyk(62.1%, 70.5%, 0%, 11%)
CIE-LABlab(40.47, 52.52, -78.36)
CIE-LCHlch(40.47, 94.33, 303.83°)
OKLaboklab(50.95% 0.0391 -0.226)
OKLCHoklch(50.95% 0.229 279.8)
XYZxyz(19.7056, 11.5373, 73.8466)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5643E3 #D0E343
analogous
#4380E3 #5643E3 #A643E3
triadic
#5643E3 #E35643 #43E356
tetradic
#5643E3 #E34380 #D0E343 #43E3A6
square
#5643E3 #E34380 #D0E343 #43E3A6
split-complementary
#5643E3 #E3A643 #80E343
monochromatic
#251695 #331ECB #5643E3 #8678EB #B6AEF3

Accessibility & contrast

On white

6.35
#5643E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5643E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5643E3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5643E3#FFFFFF#000000##FFFFFF
##5643E31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E8
Deuteranopia (green-blind)
#0059E0
Tritanopia (blue-blind)
#006F8F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5643e3;
/* rgb */ color: rgb(86, 67, 227);
/* oklch */ color: oklch(50.9% 0.229 279.8);
Tailwind
colors: {
  custom: {
    50: '#9579ed',
    500: '#5643e3',
    950: '#000000',
  },
}
SCSS
$custom: #5643e3;
$custom-light: #9579ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5643e3",
  "rgb": {
    "r": 86,
    "g": 67,
    "b": 227
  },
  "hsl": {
    "h": 247.125,
    "s": 74.074,
    "l": 57.647
  },
  "oklch": {
    "l": 0.50947,
    "c": 0.22939,
    "h": 279.8
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#5643E3
secondary
#D9E1A1
accent
#F137DB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5643E3

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

Preview Lab → · Contrast checker → · Palette generator →

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