#6754D2#6754D2

#6754D2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.5% C 0.186 H 285.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6754D2
RGBrgb(103, 84, 210)
HSLhsl(249, 58%, 58%)
HSVhsv(249, 60%, 82%)
CMYKcmyk(51%, 60%, 0%, 17.6%)
CIE-LABlab(44.05, 40.47, -62.73)
CIE-LCHlch(44.05, 74.65, 302.83°)
OKLaboklab(53.46% 0.0485 -0.1797)
OKLCHoklch(53.46% 0.186 285.1)
XYZxyz(20.3932, 13.8763, 62.5641)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754D2 #BFD254
analogous
#5480D2 #6754D2 #A654D2
triadic
#6754D2 #D26754 #54D267
tetradic
#6754D2 #D25480 #BFD254 #54D2A6
square
#6754D2 #D25480 #BFD254 #54D2A6
split-complementary
#6754D2 #D2A654 #80D254
monochromatic
#332488 #4531B8 #6754D2 #9284DF #BDB5EB

Accessibility & contrast

On white

5.56
#6754D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6754D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754D2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754D2#FFFFFF#000000##FFFFFF
##6754D21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#3E728B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6754d2;
/* rgb */ color: rgb(103, 84, 210);
/* oklch */ color: oklch(53.5% 0.186 285.1);
Tailwind
colors: {
  custom: {
    50: '#9b85e1',
    500: '#6754d2',
    950: '#000000',
  },
}
SCSS
$custom: #6754d2;
$custom-light: #9b85e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6754d2",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 249.048,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5346,
    "c": 0.18608,
    "h": 285.1
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#6754D2
secondary
#D3DAA8
accent
#E246CA
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6754D2

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

Preview Lab → · Contrast checker → · Palette generator →

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