#6451CC#6451CC

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

Color values

HEX#6451CC
RGBrgb(100, 81, 204)
HSLhsl(249, 55%, 56%)
HSVhsv(249, 60%, 80%)
CMYKcmyk(51%, 60.3%, 0%, 20%)
CIE-LABlab(42.69, 39.85, -61.50)
CIE-LCHlch(42.69, 73.28, 302.94°)
OKLaboklab(52.26% 0.048 -0.1761)
OKLCHoklch(52.26% 0.183 285.2)
XYZxyz(19.0938, 12.9528, 58.6091)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451CC #B9CC51
analogous
#517BCC #6451CC #A151CC
triadic
#6451CC #CC6451 #51CC64
tetradic
#6451CC #CC517B #B9CC51 #51CCA1
square
#6451CC #CC517B #B9CC51 #51CCA1
split-complementary
#6451CC #CCA151 #7BCC51
monochromatic
#33257E #4633AD #6451CC #8E80DA #B8B0E8

Accessibility & contrast

On white

5.85
#6451CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6451CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451CC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451CC#FFFFFF#000000##FFFFFF
##6451CC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#3C6E87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6451cc;
/* rgb */ color: rgb(100, 81, 204);
/* oklch */ color: oklch(52.3% 0.183 285.2);
Tailwind
colors: {
  custom: {
    50: '#9883dc',
    500: '#6451cc',
    950: '#000000',
  },
}
SCSS
$custom: #6451cc;
$custom-light: #9883dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6451cc",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 249.268,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52261,
    "c": 0.18256,
    "h": 285.2
  },
  "luminance": 0.12954
}

Semantic roles & 50–950 ramp

primary
#6451CC
secondary
#CED6A3
accent
#DE4AC7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6451CC

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

Preview Lab → · Contrast checker → · Palette generator →

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