#6956DC#6956DC

#6956DC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.7% C 0.196 H 284.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6956DC
RGBrgb(105, 86, 220)
HSLhsl(249, 66%, 60%)
HSVhsv(249, 61%, 86%)
CMYKcmyk(52.3%, 60.9%, 0%, 13.7%)
CIE-LABlab(45.39, 42.68, -66.26)
CIE-LCHlch(45.39, 78.82, 302.79°)
OKLaboklab(54.71% 0.0485 -0.19)
OKLCHoklch(54.71% 0.196 284.3)
XYZxyz(22.0679, 14.8249, 69.3950)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6956DC #C9DC56
analogous
#5686DC #6956DC #AC56DC
triadic
#6956DC #DC6956 #56DC69
tetradic
#6956DC #DC5686 #C9DC56 #56DCAC
square
#6956DC #DC5686 #C9DC56 #56DCAC
split-complementary
#6956DC #DCAC56 #86DC56
monochromatic
#312098 #412ACB #6956DC #9689E6 #C3BBF1

Accessibility & contrast

On white

5.30
#6956DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6956DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6956DC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6956DC#FFFFFF#000000##FFFFFF
##6956DC1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#3A7691
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6956dc;
/* rgb */ color: rgb(105, 86, 220);
/* oklch */ color: oklch(54.7% 0.196 284.3);
Tailwind
colors: {
  custom: {
    50: '#9d86e8',
    500: '#6956dc',
    950: '#000000',
  },
}
SCSS
$custom: #6956dc;
$custom-light: #9d86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6956dc",
  "rgb": {
    "r": 105,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 248.507,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.54711,
    "c": 0.19607,
    "h": 284.3
  },
  "luminance": 0.14826
}

Semantic roles & 50–950 ramp

primary
#6956DC
secondary
#D9E1AD
accent
#E93FD1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6956DC

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

Preview Lab → · Contrast checker → · Palette generator →

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