#6751DC#6751DC

#6751DC is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.8% C 0.203 H 284.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6751DC
RGBrgb(103, 81, 220)
HSLhsl(249, 67%, 59%)
HSVhsv(249, 63%, 86%)
CMYKcmyk(53.2%, 63.2%, 0%, 13.7%)
CIE-LABlab(44.14, 45.20, -68.31)
CIE-LCHlch(44.14, 81.91, 303.49°)
OKLaboklab(53.75% 0.0508 -0.1961)
OKLCHoklch(53.75% 0.203 284.5)
XYZxyz(21.4503, 13.9345, 69.2556)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6751DC #C6DC51
analogous
#5181DC #6751DC #AC51DC
triadic
#6751DC #DC6751 #51DC67
tetradic
#6751DC #DC5181 #C6DC51 #51DCAC
square
#6751DC #DC5181 #C6DC51 #51DCAC
split-complementary
#6751DC #DCAC51 #81DC51
monochromatic
#311E95 #4128C8 #6751DC #9484E6 #C0B7F0

Accessibility & contrast

On white

5.54
#6751DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6751DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6751DC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6751DC#FFFFFF#000000##FFFFFF
##6751DC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#35738F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6751dc;
/* rgb */ color: rgb(103, 81, 220);
/* oklch */ color: oklch(53.8% 0.203 284.5);
Tailwind
colors: {
  custom: {
    50: '#9c83e8',
    500: '#6751dc',
    950: '#000000',
  },
}
SCSS
$custom: #6751dc;
$custom-light: #9c83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6751dc",
  "rgb": {
    "r": 103,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 249.496,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53754,
    "c": 0.20254,
    "h": 284.5
  },
  "luminance": 0.13936
}

Semantic roles & 50–950 ramp

primary
#6751DC
secondary
#D7E0A9
accent
#E93ECE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6751DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6751DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva