#6754DB#6754DB

#6754DB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 54.1% C 0.198 H 284.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6754DB
RGBrgb(103, 84, 219)
HSLhsl(248, 65%, 59%)
HSVhsv(248, 62%, 86%)
CMYKcmyk(53%, 61.6%, 0%, 14.1%)
CIE-LABlab(44.71, 43.18, -66.81)
CIE-LCHlch(44.71, 79.54, 302.87°)
OKLaboklab(54.15% 0.0479 -0.1916)
OKLCHoklch(54.15% 0.198 284)
XYZxyz(21.5462, 14.3375, 68.6362)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6754DB #C8DB54
analogous
#5485DB #6754DB #AA54DB
triadic
#6754DB #DB6754 #54DB67
tetradic
#6754DB #DB5485 #C8DB54 #54DBAA
square
#6754DB #DB5485 #C8DB54 #54DBAA
split-complementary
#6754DB #DBAA54 #85DB54
monochromatic
#301F95 #402AC8 #6754DB #9487E6 #C1B9F0

Accessibility & contrast

On white

5.43
#6754DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#6754DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6754DB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6754DB#FFFFFF#000000##FFFFFF
##6754DB1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#367590
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6754db;
/* rgb */ color: rgb(103, 84, 219);
/* oklch */ color: oklch(54.1% 0.198 284.0);
Tailwind
colors: {
  custom: {
    50: '#9c85e7',
    500: '#6754db',
    950: '#000000',
  },
}
SCSS
$custom: #6754db;
$custom-light: #9c85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6754db",
  "rgb": {
    "r": 103,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 248.444,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.19755,
    "h": 284
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

primary
#6754DB
secondary
#D8E0AB
accent
#E840D0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6754DB

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

Preview Lab → · Contrast checker → · Palette generator →

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