#6956EC#6956EC

#6956EC is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 56.0% C 0.216 H 282.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6956EC
RGBrgb(105, 86, 236)
HSLhsl(248, 80%, 63%)
HSVhsv(248, 64%, 93%)
CMYKcmyk(55.5%, 63.6%, 0%, 7.5%)
CIE-LABlab(46.60, 47.48, -73.36)
CIE-LCHlch(46.60, 87.39, 302.91°)
OKLaboklab(55.96% 0.0472 -0.2109)
OKLCHoklch(55.96% 0.216 282.6)
XYZxyz(24.2891, 15.7135, 81.0937)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6956EC #D9EC56
analogous
#568EEC #6956EC #B456EC
triadic
#6956EC #EC6956 #56EC69
tetradic
#6956EC #EC568E #D9EC56 #56ECB4
square
#6956EC #EC568E #D9EC56 #56ECB4
split-complementary
#6956EC #ECB456 #8EEC56
monochromatic
#2814B3 #381FE6 #6956EC #9A8DF2 #CBC4F8

Accessibility & contrast

On white

5.07
#6956EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6956EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6956EC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6956EC#FFFFFF#000000##FFFFFF
##6956EC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#277B99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6956ec;
/* rgb */ color: rgb(105, 86, 236);
/* oklch */ color: oklch(56.0% 0.216 282.6);
Tailwind
colors: {
  custom: {
    50: '#9f87f3',
    500: '#6956ec',
    950: '#000000',
  },
}
SCSS
$custom: #6956ec;
$custom-light: #9f87f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6956ec",
  "rgb": {
    "r": 105,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 247.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55964,
    "c": 0.21608,
    "h": 282.6
  },
  "luminance": 0.15715
}

Semantic roles & 50–950 ramp

primary
#6956EC
secondary
#E3EAB4
accent
#DC09C1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6956EC

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

Preview Lab → · Contrast checker → · Palette generator →

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