#6754D8#6754D8

#6754D8 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.9% C 0.194 H 284.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6754D8
RGBrgb(103, 84, 216)
HSLhsl(249, 63%, 59%)
HSVhsv(249, 61%, 85%)
CMYKcmyk(52.3%, 61.1%, 0%, 15.3%)
CIE-LABlab(44.49, 42.27, -65.46)
CIE-LCHlch(44.49, 77.92, 302.86°)
OKLaboklab(53.92% 0.0481 -0.1877)
OKLCHoklch(53.92% 0.194 284.4)
XYZxyz(21.1548, 14.1809, 66.5749)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754D8 #C5D854
analogous
#5483D8 #6754D8 #A954D8
triadic
#6754D8 #D86754 #54D867
tetradic
#6754D8 #D85483 #C5D854 #54D8A9
square
#6754D8 #D85483 #C5D854 #54D8A9
split-complementary
#6754D8 #D8A954 #83D854
monochromatic
#312191 #422CC2 #6754D8 #9386E3 #C0B8EF

Accessibility & contrast

On white

5.47
#6754D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6754D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754D8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754D8#FFFFFF#000000##FFFFFF
##6754D81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#39748E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6754d8;
/* rgb */ color: rgb(103, 84, 216);
/* oklch */ color: oklch(53.9% 0.194 284.4);
Tailwind
colors: {
  custom: {
    50: '#9b85e5',
    500: '#6754d8',
    950: '#000000',
  },
}
SCSS
$custom: #6754d8;
$custom-light: #9b85e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6754d8",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 248.636,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53917,
    "c": 0.19375,
    "h": 284.4
  },
  "luminance": 0.14182
}

Semantic roles & 50–950 ramp

primary
#6754D8
secondary
#D6DEAA
accent
#E642CE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6754D8

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

Preview Lab → · Contrast checker → · Palette generator →

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