#6451CD#6451CD

#6451CD is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.3% C 0.184 H 285.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#6451CD
RGBrgb(100, 81, 205)
HSLhsl(249, 55%, 56%)
HSVhsv(249, 60%, 80%)
CMYKcmyk(51.2%, 60.5%, 0%, 19.6%)
CIE-LABlab(42.76, 40.15, -61.96)
CIE-LCHlch(42.76, 73.83, 302.95°)
OKLaboklab(52.34% 0.0479 -0.1775)
OKLCHoklch(52.34% 0.184 285.1)
XYZxyz(19.2141, 13.0010, 59.2428)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451CD #BACD51
analogous
#517CCD #6451CD #A251CD
triadic
#6451CD #CD6451 #51CD64
tetradic
#6451CD #CD517C #BACD51 #51CDA2
square
#6451CD #CD517C #BACD51 #51CDA2
split-complementary
#6451CD #CDA251 #7CCD51
monochromatic
#32257F #4532AF #6451CD #8E81DB #B9B0E8

Accessibility & contrast

On white

5.83
#6451CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#6451CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451CD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451CD#FFFFFF#000000##FFFFFF
##6451CD1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#3C6E87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6451cd;
/* rgb */ color: rgb(100, 81, 205);
/* oklch */ color: oklch(52.3% 0.184 285.1);
Tailwind
colors: {
  custom: {
    50: '#9883dd',
    500: '#6451cd',
    950: '#000000',
  },
}
SCSS
$custom: #6451cd;
$custom-light: #9883dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6451cd",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 249.194,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52337,
    "c": 0.18385,
    "h": 285.1
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#6451CD
secondary
#CFD7A3
accent
#DF49C8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6451CD

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

Preview Lab → · Contrast checker → · Palette generator →

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