#6861BC#6861BC

#6861BC is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.3% C 0.138 H 284.3°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6861BC
RGBrgb(104, 97, 188)
HSLhsl(245, 40%, 56%)
HSVhsv(245, 48%, 74%)
CMYKcmyk(44.7%, 48.4%, 0%, 26.3%)
CIE-LABlab(45.80, 26.27, -47.21)
CIE-LCHlch(45.80, 54.03, 299.09°)
OKLaboklab(54.32% 0.0341 -0.134)
OKLCHoklch(54.32% 0.138 284.3)
XYZxyz(19.0581, 15.1225, 49.4820)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6861BC #B5BC61
analogous
#6187BC #6861BC #9561BC
triadic
#6861BC #BC6861 #61BC68
tetradic
#6861BC #BC6187 #B5BC61 #61BC95
square
#6861BC #BC6187 #B5BC61 #61BC95
split-complementary
#6861BC #BC9561 #87BC61
monochromatic
#353072 #4A439D #6861BC #918CCE #BAB7E0

Accessibility & contrast

On white

5.22
#6861BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6861BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6861BC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6861BC#FFFFFF#000000##FFFFFF
##6861BC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#386ABA
Tritanopia (blue-blind)
#4D7485
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6861bc;
/* rgb */ color: rgb(104, 97, 188);
/* oklch */ color: oklch(54.3% 0.138 284.3);
Tailwind
colors: {
  custom: {
    50: '#988ed1',
    500: '#6861bc',
    950: '#000000',
  },
}
SCSS
$custom: #6861bc;
$custom-light: #988ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6861bc",
  "rgb": {
    "r": 104,
    "g": 97,
    "b": 188
  },
  "hsl": {
    "h": 244.615,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54321,
    "c": 0.13823,
    "h": 284.3
  },
  "luminance": 0.15123
}

Semantic roles & 50–950 ramp

primary
#6861BC
secondary
#CCCFAA
accent
#D057C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6861BC

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

Preview Lab → · Contrast checker → · Palette generator →

#6861BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva