#6451CB#6451CB

#6451CB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.2% C 0.181 H 285.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6451CB
RGBrgb(100, 81, 203)
HSLhsl(249, 54%, 56%)
HSVhsv(249, 60%, 80%)
CMYKcmyk(50.7%, 60.1%, 0%, 20.4%)
CIE-LABlab(42.62, 39.55, -61.04)
CIE-LCHlch(42.62, 72.73, 302.94°)
OKLaboklab(52.19% 0.048 -0.1748)
OKLCHoklch(52.19% 0.181 285.4)
XYZxyz(18.9742, 12.9050, 57.9795)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451CB #B8CB51
analogous
#517BCB #6451CB #A151CB
triadic
#6451CB #CB6451 #51CB64
tetradic
#6451CB #CB517B #B8CB51 #51CBA1
square
#6451CB #CB517B #B8CB51 #51CBA1
split-complementary
#6451CB #CBA151 #7BCB51
monochromatic
#33257C #4633AC #6451CB #8E80D9 #B8AFE7

Accessibility & contrast

On white

5.86
#6451CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6451CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451CB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451CB#FFFFFF#000000##FFFFFF
##6451CB1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#3D6E86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6451cb;
/* rgb */ color: rgb(100, 81, 203);
/* oklch */ color: oklch(52.2% 0.181 285.4);
Tailwind
colors: {
  custom: {
    50: '#9883dc',
    500: '#6451cb',
    950: '#000000',
  },
}
SCSS
$custom: #6451cb;
$custom-light: #9883dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6451cb",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 249.344,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.18127,
    "h": 285.4
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#6451CB
secondary
#CDD5A3
accent
#DD4AC6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6451CB

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

Preview Lab → · Contrast checker → · Palette generator →

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