#6451CF#6451CF

#6451CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.5% C 0.186 H 284.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6451CF
RGBrgb(100, 81, 207)
HSLhsl(249, 57%, 56%)
HSVhsv(249, 61%, 81%)
CMYKcmyk(51.7%, 60.9%, 0%, 18.8%)
CIE-LABlab(42.91, 40.75, -62.87)
CIE-LCHlch(42.91, 74.93, 302.95°)
OKLaboklab(52.49% 0.0478 -0.1802)
OKLCHoklch(52.49% 0.186 284.9)
XYZxyz(19.4571, 13.0982, 60.5223)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451CF #BCCF51
analogous
#517DCF #6451CF #A351CF
triadic
#6451CF #CF6451 #51CF64
tetradic
#6451CF #CF517D #BCCF51 #51CFA3
square
#6451CF #CF517D #BCCF51 #51CFA3
split-complementary
#6451CF #CFA351 #7DCF51
monochromatic
#322482 #4431B2 #6451CF #8F81DC #B9B1E9

Accessibility & contrast

On white

5.80
#6451CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6451CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451CF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451CF#FFFFFF#000000##FFFFFF
##6451CF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#3A6F88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6451cf;
/* rgb */ color: rgb(100, 81, 207);
/* oklch */ color: oklch(52.5% 0.186 284.9);
Tailwind
colors: {
  custom: {
    50: '#9983df',
    500: '#6451cf',
    950: '#000000',
  },
}
SCSS
$custom: #6451cf;
$custom-light: #9983df;
$custom-dark: #000000;
JSON
{
  "hex": "#6451cf",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 249.048,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.18642,
    "h": 284.9
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#6451CF
secondary
#D0D8A4
accent
#E048C9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #6451CF

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

Preview Lab → · Contrast checker → · Palette generator →

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