#6456CA#6456CA

#6456CA is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.0% C 0.173 H 284.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#6456CA
RGBrgb(100, 86, 202)
HSLhsl(247, 52%, 56%)
HSVhsv(247, 57%, 79%)
CMYKcmyk(50.5%, 57.4%, 0%, 20.8%)
CIE-LABlab(43.69, 36.28, -58.72)
CIE-LCHlch(43.69, 69.02, 301.71°)
OKLaboklab(52.95% 0.0427 -0.1679)
OKLCHoklch(52.95% 0.173 284.3)
XYZxyz(19.2408, 13.6282, 57.4823)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456CA #BCCA56
analogous
#5682CA #6456CA #9E56CA
triadic
#6456CA #CA6456 #56CA64
tetradic
#6456CA #CA5682 #BCCA56 #56CA9E
square
#6456CA #CA5682 #BCCA56 #56CA9E
split-complementary
#6456CA #CA9E56 #82CA56
monochromatic
#32287E #4436AD #6456CA #8F85D9 #B9B3E7

Accessibility & contrast

On white

5.64
#6456CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#6456CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456CA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456CA#FFFFFF#000000##FFFFFF
##6456CA1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#3D7188
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6456ca;
/* rgb */ color: rgb(100, 86, 202);
/* oklch */ color: oklch(53.0% 0.173 284.3);
Tailwind
colors: {
  custom: {
    50: '#9886db',
    500: '#6456ca',
    950: '#000000',
  },
}
SCSS
$custom: #6456ca;
$custom-light: #9886db;
$custom-dark: #000000;
JSON
{
  "hex": "#6456ca",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 247.241,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.1733,
    "h": 284.3
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#6456CA
secondary
#D0D6A6
accent
#DC4CCA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6456CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6456CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva