#6956EB#6956EB

#6956EB is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.215 H 282.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6956EB
RGBrgb(105, 86, 235)
HSLhsl(248, 79%, 63%)
HSVhsv(248, 63%, 92%)
CMYKcmyk(55.3%, 63.4%, 0%, 7.8%)
CIE-LABlab(46.52, 47.18, -72.93)
CIE-LCHlch(46.52, 86.86, 302.90°)
OKLaboklab(55.88% 0.0473 -0.2096)
OKLCHoklch(55.88% 0.215 282.7)
XYZxyz(24.1443, 15.6555, 80.3307)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6956EB #D8EB56
analogous
#568DEB #6956EB #B356EB
triadic
#6956EB #EB6956 #56EB69
tetradic
#6956EB #EB568D #D8EB56 #56EBB3
square
#6956EB #EB568D #D8EB56 #56EBB3
split-complementary
#6956EB #EBB356 #8DEB56
monochromatic
#2915B2 #381FE5 #6956EB #9A8DF1 #CAC3F8

Accessibility & contrast

On white

5.08
#6956EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6956EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6956EB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6956EB#FFFFFF#000000##FFFFFF
##6956EB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#297B99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6956eb;
/* rgb */ color: rgb(105, 86, 235);
/* oklch */ color: oklch(55.9% 0.215 282.7);
Tailwind
colors: {
  custom: {
    50: '#9f87f2',
    500: '#6956eb',
    950: '#000000',
  },
}
SCSS
$custom: #6956eb;
$custom-light: #9f87f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6956eb",
  "rgb": {
    "r": 105,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 247.651,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55884,
    "c": 0.21485,
    "h": 282.7
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

primary
#6956EB
secondary
#E2E9B4
accent
#DB0AC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6956EB

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

Preview Lab → · Contrast checker → · Palette generator →

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