#6956CB#6956CB

#6956CB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.4% C 0.174 H 286.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6956CB
RGBrgb(105, 86, 203)
HSLhsl(250, 53%, 57%)
HSVhsv(250, 58%, 80%)
CMYKcmyk(48.3%, 57.6%, 0%, 20.4%)
CIE-LABlab(44.19, 37.61, -58.48)
CIE-LCHlch(44.19, 69.53, 302.75°)
OKLaboklab(53.45% 0.0491 -0.1671)
OKLCHoklch(53.45% 0.174 286.4)
XYZxyz(19.9298, 13.9697, 58.1346)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6956CB #B8CB56
analogous
#567ECB #6956CB #A456CB
triadic
#6956CB #CB6956 #56CB69
tetradic
#6956CB #CB567E #B8CB56 #56CBA4
square
#6956CB #CB567E #B8CB56 #56CBA4
split-complementary
#6956CB #CBA456 #7ECB56
monochromatic
#36277F #4936AE #6956CB #9385D9 #BCB4E8

Accessibility & contrast

On white

5.53
#6956CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6956CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6956CB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6956CB#FFFFFF#000000##FFFFFF
##6956CB1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#477188
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6956cb;
/* rgb */ color: rgb(105, 86, 203);
/* oklch */ color: oklch(53.4% 0.174 286.4);
Tailwind
colors: {
  custom: {
    50: '#9b86dc',
    500: '#6956cb',
    950: '#000000',
  },
}
SCSS
$custom: #6956cb;
$custom-light: #9b86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6956cb",
  "rgb": {
    "r": 105,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 249.744,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53446,
    "c": 0.17413,
    "h": 286.4
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#6956CB
secondary
#CFD6A6
accent
#DC4BC5
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6956CB

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

Preview Lab → · Contrast checker → · Palette generator →

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