#6451CA#6451CA

#6451CA is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.180 H 285.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6451CA
RGBrgb(100, 81, 202)
HSLhsl(249, 53%, 55%)
HSVhsv(249, 60%, 79%)
CMYKcmyk(50.5%, 59.9%, 0%, 20.8%)
CIE-LABlab(42.55, 39.25, -60.58)
CIE-LCHlch(42.55, 72.18, 302.94°)
OKLaboklab(52.11% 0.0481 -0.1734)
OKLCHoklch(52.11% 0.18 285.5)
XYZxyz(18.8555, 12.8575, 57.3539)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451CA #B7CA51
analogous
#517BCA #6451CA #A051CA
triadic
#6451CA #CA6451 #51CA64
tetradic
#6451CA #CA517B #B7CA51 #51CAA0
square
#6451CA #CA517B #B7CA51 #51CAA0
split-complementary
#6451CA #CAA051 #7BCA51
monochromatic
#33257B #4634AA #6451CA #8E80D8 #B8AFE7

Accessibility & contrast

On white

5.88
#6451CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6451CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451CA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451CA#FFFFFF#000000##FFFFFF
##6451CA1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#3E6D86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6451ca;
/* rgb */ color: rgb(100, 81, 202);
/* oklch */ color: oklch(52.1% 0.180 285.5);
Tailwind
colors: {
  custom: {
    50: '#9883db',
    500: '#6451ca',
    950: '#000000',
  },
}
SCSS
$custom: #6451ca;
$custom-light: #9883db;
$custom-dark: #000000;
JSON
{
  "hex": "#6451ca",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 249.421,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5211,
    "c": 0.17997,
    "h": 285.5
  },
  "luminance": 0.12858
}

Semantic roles & 50–950 ramp

primary
#6451CA
secondary
#CDD5A2
accent
#DD4BC6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6451CA

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

Preview Lab → · Contrast checker → · Palette generator →

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