#6456CD#6456CD

#6456CD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.2% C 0.177 H 283.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6456CD
RGBrgb(100, 86, 205)
HSLhsl(247, 54%, 57%)
HSVhsv(247, 58%, 80%)
CMYKcmyk(51.2%, 58%, 0%, 19.6%)
CIE-LABlab(43.90, 37.19, -60.11)
CIE-LCHlch(43.90, 70.69, 301.75°)
OKLaboklab(53.17% 0.0427 -0.172)
OKLCHoklch(53.17% 0.177 283.9)
XYZxyz(19.5994, 13.7716, 59.3712)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6456CD #BFCD56
analogous
#5684CD #6456CD #A056CD
triadic
#6456CD #CD6456 #56CD64
tetradic
#6456CD #CD5684 #BFCD56 #56CDA0
square
#6456CD #CD5684 #BFCD56 #56CDA0
split-complementary
#6456CD #CDA056 #84CD56
monochromatic
#312682 #4334B1 #6456CD #8F85DB #BBB4E9

Accessibility & contrast

On white

5.59
#6456CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6456CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6456CD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6456CD#FFFFFF#000000##FFFFFF
##6456CD1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#3B7289
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6456cd;
/* rgb */ color: rgb(100, 86, 205);
/* oklch */ color: oklch(53.2% 0.177 283.9);
Tailwind
colors: {
  custom: {
    50: '#9886dd',
    500: '#6456cd',
    950: '#000000',
  },
}
SCSS
$custom: #6456cd;
$custom-light: #9886dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6456cd",
  "rgb": {
    "r": 100,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 247.059,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.17726,
    "h": 283.9
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#6456CD
secondary
#D2D8A7
accent
#DE4ACC
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6456CD

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

Preview Lab → · Contrast checker → · Palette generator →

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