#6954DC#6954DC

#6954DC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.4% C 0.199 H 284.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6954DC
RGBrgb(105, 84, 220)
HSLhsl(249, 66%, 60%)
HSVhsv(249, 62%, 86%)
CMYKcmyk(52.3%, 61.8%, 0%, 13.7%)
CIE-LABlab(44.96, 43.84, -66.98)
CIE-LCHlch(44.96, 80.05, 303.21°)
OKLaboklab(54.39% 0.0504 -0.1921)
OKLCHoklch(54.39% 0.199 284.7)
XYZxyz(21.9104, 14.5100, 69.3425)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954DC #C7DC54
analogous
#5483DC #6954DC #AD54DC
triadic
#6954DC #DC6954 #54DC69
tetradic
#6954DC #DC5483 #C7DC54 #54DCAD
square
#6954DC #DC5483 #C7DC54 #54DCAD
split-complementary
#6954DC #DCAD54 #83DC54
monochromatic
#311F97 #4229CA #6954DC #9687E6 #C2BAF1

Accessibility & contrast

On white

5.38
#6954DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#6954DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954DC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954DC#FFFFFF#000000##FFFFFF
##6954DC1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#3A7590
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6954dc;
/* rgb */ color: rgb(105, 84, 220);
/* oklch */ color: oklch(54.4% 0.199 284.7);
Tailwind
colors: {
  custom: {
    50: '#9d85e8',
    500: '#6954dc',
    950: '#000000',
  },
}
SCSS
$custom: #6954dc;
$custom-light: #9d85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6954dc",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 249.265,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54391,
    "c": 0.1986,
    "h": 284.7
  },
  "luminance": 0.14511
}

Semantic roles & 50–950 ramp

primary
#6954DC
secondary
#D8E0AC
accent
#E93FCF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6954DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6954DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva