#6754CE#6754CE

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

Color values

HEX#6754CE
RGBrgb(103, 84, 206)
HSLhsl(249, 55%, 57%)
HSVhsv(249, 59%, 81%)
CMYKcmyk(50%, 59.2%, 0%, 19.2%)
CIE-LABlab(43.77, 39.28, -60.89)
CIE-LCHlch(43.77, 72.46, 302.82°)
OKLaboklab(53.16% 0.0486 -0.1743)
OKLCHoklch(53.16% 0.181 285.6)
XYZxyz(19.9011, 13.6795, 59.9723)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754CE #BBCE54
analogous
#547ECE #6754CE #A454CE
triadic
#6754CE #CE6754 #54CE67
tetradic
#6754CE #CE547E #BBCE54 #54CEA4
square
#6754CE #CE547E #BBCE54 #54CEA4
split-complementary
#6754CE #CEA454 #7ECE54
monochromatic
#342582 #4733B2 #6754CE #9184DC #BCB3E9

Accessibility & contrast

On white

5.62
#6754CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6754CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754CE
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754CE#FFFFFF#000000##FFFFFF
##6754CE1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#417089
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6754ce;
/* rgb */ color: rgb(103, 84, 206);
/* oklch */ color: oklch(53.2% 0.181 285.6);
Tailwind
colors: {
  custom: {
    50: '#9a85de',
    500: '#6754ce',
    950: '#000000',
  },
}
SCSS
$custom: #6754ce;
$custom-light: #9a85de;
$custom-dark: #000000;
JSON
{
  "hex": "#6754ce",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 249.344,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.18091,
    "h": 285.6
  },
  "luminance": 0.1368
}

Semantic roles & 50–950 ramp

primary
#6754CE
secondary
#D0D8A6
accent
#DF49C7
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6754CE

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

Preview Lab → · Contrast checker → · Palette generator →

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