#6754CF#6754CF

#6754CF is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.2% C 0.182 H 285.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6754CF
RGBrgb(103, 84, 207)
HSLhsl(249, 56%, 57%)
HSVhsv(249, 59%, 81%)
CMYKcmyk(50.2%, 59.4%, 0%, 18.8%)
CIE-LABlab(43.84, 39.58, -61.35)
CIE-LCHlch(43.84, 73.01, 302.82°)
OKLaboklab(53.24% 0.0486 -0.1756)
OKLCHoklch(53.24% 0.182 285.5)
XYZxyz(20.0230, 13.7282, 60.6141)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754CF #BCCF54
analogous
#547FCF #6754CF #A454CF
triadic
#6754CF #CF6754 #54CF67
tetradic
#6754CF #CF547F #BCCF54 #54CFA4
square
#6754CF #CF547F #BCCF54 #54CFA4
split-complementary
#6754CF #CFA454 #7FCF54
monochromatic
#342584 #4632B3 #6754CF #9184DC #BCB4EA

Accessibility & contrast

On white

5.61
#6754CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6754CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754CF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754CF#FFFFFF#000000##FFFFFF
##6754CF1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#407189
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6754cf;
/* rgb */ color: rgb(103, 84, 207);
/* oklch */ color: oklch(53.2% 0.182 285.5);
Tailwind
colors: {
  custom: {
    50: '#9a85de',
    500: '#6754cf',
    950: '#000000',
  },
}
SCSS
$custom: #6754cf;
$custom-light: #9a85de;
$custom-dark: #000000;
JSON
{
  "hex": "#6754cf",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 249.268,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53235,
    "c": 0.1822,
    "h": 285.5
  },
  "luminance": 0.13729
}

Semantic roles & 50–950 ramp

primary
#6754CF
secondary
#D1D8A6
accent
#DF48C8
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6754CF

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

Preview Lab → · Contrast checker → · Palette generator →

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