#6956CC#6956CC

#6956CC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.5% C 0.175 H 286.2°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#6956CC
RGBrgb(105, 86, 204)
HSLhsl(250, 54%, 57%)
HSVhsv(250, 58%, 80%)
CMYKcmyk(48.5%, 57.8%, 0%, 20%)
CIE-LABlab(44.26, 37.91, -58.94)
CIE-LCHlch(44.26, 70.08, 302.75°)
OKLaboklab(53.52% 0.0491 -0.1684)
OKLCHoklch(53.52% 0.175 286.2)
XYZxyz(20.0494, 14.0175, 58.7643)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6956CC #B9CC56
analogous
#567ECC #6956CC #A456CC
triadic
#6956CC #CC6956 #56CC69
tetradic
#6956CC #CC567E #B9CC56 #56CCA4
square
#6956CC #CC567E #B9CC56 #56CCA4
split-complementary
#6956CC #CCA456 #7ECC56
monochromatic
#352781 #4935B0 #6956CC #9385DA #BCB4E8

Accessibility & contrast

On white

5.52
#6956CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6956CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6956CC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6956CC#FFFFFF#000000##FFFFFF
##6956CC1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#477189
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6956cc;
/* rgb */ color: rgb(105, 86, 204);
/* oklch */ color: oklch(53.5% 0.175 286.2);
Tailwind
colors: {
  custom: {
    50: '#9b86dc',
    500: '#6956cc',
    950: '#000000',
  },
}
SCSS
$custom: #6956cc;
$custom-light: #9b86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6956cc",
  "rgb": {
    "r": 105,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 249.661,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.17545,
    "h": 286.2
  },
  "luminance": 0.14018
}

Semantic roles & 50–950 ramp

primary
#6956CC
secondary
#CFD7A7
accent
#DD4BC5
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6956CC

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

Preview Lab → · Contrast checker → · Palette generator →

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