#6954DB#6954DB

#6954DB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 54.3% C 0.197 H 284.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6954DB
RGBrgb(105, 84, 219)
HSLhsl(249, 65%, 59%)
HSVhsv(249, 62%, 86%)
CMYKcmyk(52.1%, 61.6%, 0%, 14.1%)
CIE-LABlab(44.88, 43.54, -66.53)
CIE-LCHlch(44.88, 79.51, 303.20°)
OKLaboklab(54.31% 0.0505 -0.1908)
OKLCHoklch(54.31% 0.197 284.8)
XYZxyz(21.7784, 14.4572, 68.6471)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6954DB #C6DB54
analogous
#5483DB #6954DB #AC54DB
triadic
#6954DB #DB6954 #54DB69
tetradic
#6954DB #DB5483 #C6DB54 #54DBAC
square
#6954DB #DB5483 #C6DB54 #54DBAC
split-complementary
#6954DB #DBAC54 #83DB54
monochromatic
#321F95 #432AC8 #6954DB #9587E6 #C2B9F0

Accessibility & contrast

On white

5.40
#6954DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6954DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6954DB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6954DB#FFFFFF#000000##FFFFFF
##6954DB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#3B7490
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6954db;
/* rgb */ color: rgb(105, 84, 219);
/* oklch */ color: oklch(54.3% 0.197 284.8);
Tailwind
colors: {
  custom: {
    50: '#9d85e7',
    500: '#6954db',
    950: '#000000',
  },
}
SCSS
$custom: #6954db;
$custom-light: #9d85e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6954db",
  "rgb": {
    "r": 105,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 249.333,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54313,
    "c": 0.19734,
    "h": 284.8
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6954DB

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

Preview Lab → · Contrast checker → · Palette generator →

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