#6451C8#6451C8

#6451C8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.0% C 0.177 H 285.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#6451C8
RGBrgb(100, 81, 200)
HSLhsl(250, 52%, 55%)
HSVhsv(250, 60%, 78%)
CMYKcmyk(50%, 59.5%, 0%, 21.6%)
CIE-LABlab(42.40, 38.65, -59.65)
CIE-LCHlch(42.40, 71.08, 302.94°)
OKLaboklab(51.96% 0.0481 -0.1707)
OKLCHoklch(51.96% 0.177 285.7)
XYZxyz(18.6202, 12.7634, 56.1148)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6451C8 #B5C851
analogous
#5179C8 #6451C8 #A051C8
triadic
#6451C8 #C86451 #51C864
tetradic
#6451C8 #C85179 #B5C851 #51C8A0
square
#6451C8 #C85179 #B5C851 #51C8A0
split-complementary
#6451C8 #C8A051 #79C851
monochromatic
#332679 #4735A7 #6451C8 #8D80D7 #B7AEE5

Accessibility & contrast

On white

5.91
#6451C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#6451C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6451C8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6451C8#FFFFFF#000000##FFFFFF
##6451C81.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#3F6D85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6451c8;
/* rgb */ color: rgb(100, 81, 200);
/* oklch */ color: oklch(52.0% 0.177 285.7);
Tailwind
colors: {
  custom: {
    50: '#9882d9',
    500: '#6451c8',
    950: '#000000',
  },
}
SCSS
$custom: #6451c8;
$custom-light: #9882d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6451c8",
  "rgb": {
    "r": 100,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 249.58,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.17737,
    "h": 285.7
  },
  "luminance": 0.12764
}

Semantic roles & 50–950 ramp

primary
#6451C8
secondary
#CBD3A1
accent
#DB4CC5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6451C8

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

Preview Lab → · Contrast checker → · Palette generator →

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