#6754CC#6754CC

#6754CC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 53.0% C 0.178 H 285.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#6754CC
RGBrgb(103, 84, 204)
HSLhsl(250, 54%, 56%)
HSVhsv(250, 59%, 80%)
CMYKcmyk(49.5%, 58.8%, 0%, 20%)
CIE-LABlab(43.63, 38.68, -59.97)
CIE-LCHlch(43.63, 71.36, 302.82°)
OKLaboklab(53.01% 0.0487 -0.1715)
OKLCHoklch(53.01% 0.178 285.8)
XYZxyz(19.6597, 13.5829, 58.7009)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754CC #B9CC54
analogous
#547DCC #6754CC #A354CC
triadic
#6754CC #CC6754 #54CC67
tetradic
#6754CC #CC547D #B9CC54 #54CCA3
square
#6754CC #CC547D #B9CC54 #54CCA3
split-complementary
#6754CC #CCA354 #7DCC54
monochromatic
#342680 #4834AF #6754CC #9183DA #BBB2E8

Accessibility & contrast

On white

5.65
#6754CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#6754CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754CC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754CC#FFFFFF#000000##FFFFFF
##6754CC1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#437088
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6754cc;
/* rgb */ color: rgb(103, 84, 204);
/* oklch */ color: oklch(53.0% 0.178 285.8);
Tailwind
colors: {
  custom: {
    50: '#9a85dc',
    500: '#6754cc',
    950: '#000000',
  },
}
SCSS
$custom: #6754cc;
$custom-light: #9a85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6754cc",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 249.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53012,
    "c": 0.17831,
    "h": 285.8
  },
  "luminance": 0.13584
}

Semantic roles & 50–950 ramp

primary
#6754CC
secondary
#CFD7A5
accent
#DD4AC6
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0B15
muted
#7E7C83

Preview Lab

Preview with #6754CC

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

Preview Lab → · Contrast checker → · Palette generator →

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