#6456C8#6456C8

#6456C8 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.8% C 0.171 H 284.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6456C8
RGBrgb(100, 86, 200)
HSLhsl(247, 51%, 56%)
HSVhsv(247, 57%, 78%)
CMYKcmyk(50%, 57%, 0%, 21.6%)
CIE-LABlab(43.56, 35.67, -57.79)
CIE-LCHlch(43.56, 67.91, 301.69°)
OKLaboklab(52.81% 0.0427 -0.1652)
OKLCHoklch(52.81% 0.171 284.5)
XYZxyz(19.0055, 13.5341, 56.2433)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456C8 #BAC856
analogous
#5681C8 #6456C8 #9D56C8
triadic
#6456C8 #C86456 #56C864
tetradic
#6456C8 #C85681 #BAC856 #56C89D
square
#6456C8 #C85681 #BAC856 #56C89D
split-complementary
#6456C8 #C89D56 #81C856
monochromatic
#32287B #4537AA #6456C8 #8E84D7 #B9B2E6

Accessibility & contrast

On white

5.66
#6456C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6456C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456C8
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456C8#FFFFFF#000000##FFFFFF
##6456C81.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#3F7087
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6456c8;
/* rgb */ color: rgb(100, 86, 200);
/* oklch */ color: oklch(52.8% 0.171 284.5);
Tailwind
colors: {
  custom: {
    50: '#9786d9',
    500: '#6456c8',
    950: '#000000',
  },
}
SCSS
$custom: #6456c8;
$custom-light: #9786d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6456c8",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 247.368,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52809,
    "c": 0.17064,
    "h": 284.5
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#6456C8
secondary
#CFD4A5
accent
#DA4DC9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6456C8

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

Preview Lab → · Contrast checker → · Palette generator →

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