#6754DC#6754DC

#6754DC is a mid, vivid blue. Relative luminance 0.144; OKLCH L 54.2% C 0.199 H 283.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#6754DC
RGBrgb(103, 84, 220)
HSLhsl(248, 66%, 60%)
HSVhsv(248, 62%, 86%)
CMYKcmyk(53.2%, 61.8%, 0%, 13.7%)
CIE-LABlab(44.79, 43.48, -67.26)
CIE-LCHlch(44.79, 80.08, 302.88°)
OKLaboklab(54.23% 0.0479 -0.193)
OKLCHoklch(54.23% 0.199 283.9)
XYZxyz(21.6782, 14.3903, 69.3316)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754DC #C9DC54
analogous
#5485DC #6754DC #AB54DC
triadic
#6754DC #DC6754 #54DC67
tetradic
#6754DC #DC5485 #C9DC54 #54DCAB
square
#6754DC #DC5485 #C9DC54 #54DCAB
split-complementary
#6754DC #DCAB54 #85DC54
monochromatic
#301F97 #4029CA #6754DC #9487E6 #C1BAF1

Accessibility & contrast

On white

5.41
#6754DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6754DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754DC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754DC#FFFFFF#000000##FFFFFF
##6754DC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#357590
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6754dc;
/* rgb */ color: rgb(103, 84, 220);
/* oklch */ color: oklch(54.2% 0.199 283.9);
Tailwind
colors: {
  custom: {
    50: '#9c85e8',
    500: '#6754dc',
    950: '#000000',
  },
}
SCSS
$custom: #6754dc;
$custom-light: #9c85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6754dc",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 248.382,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.19882,
    "h": 283.9
  },
  "luminance": 0.14392
}

Semantic roles & 50–950 ramp

primary
#6754DC
secondary
#D9E0AC
accent
#E93FD1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6754DC

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

Preview Lab → · Contrast checker → · Palette generator →

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