#6861BB#6861BB

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

Color values

HEX#6861BB
RGBrgb(104, 97, 187)
HSLhsl(245, 40%, 56%)
HSVhsv(245, 48%, 73%)
CMYKcmyk(44.4%, 48.1%, 0%, 26.7%)
CIE-LABlab(45.74, 25.97, -46.72)
CIE-LCHlch(45.74, 53.45, 299.06°)
OKLaboklab(54.26% 0.034 -0.1325)
OKLCHoklch(54.26% 0.137 284.4)
XYZxyz(18.9506, 15.0795, 48.9162)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6861BB #B4BB61
analogous
#6187BB #6861BB #9561BB
triadic
#6861BB #BB6861 #61BB68
tetradic
#6861BB #BB6187 #B4BB61 #61BB95
square
#6861BB #BB6187 #B4BB61 #61BB95
split-complementary
#6861BB #BB9561 #87BB61
monochromatic
#363171 #4A439C #6861BB #918CCD #BAB7E0

Accessibility & contrast

On white

5.23
#6861BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6861BB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6861BB#FFFFFF#000000##FFFFFF
##6861BB1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#4E7485
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6861bb;
/* rgb */ color: rgb(104, 97, 187);
/* oklch */ color: oklch(54.3% 0.137 284.4);
Tailwind
colors: {
  custom: {
    50: '#988ed0',
    500: '#6861bb',
    950: '#000000',
  },
}
SCSS
$custom: #6861bb;
$custom-light: #988ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6861bb",
  "rgb": {
    "r": 104,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 244.667,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.13682,
    "h": 284.4
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#6861BB
secondary
#CCCFA9
accent
#D058C6
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6861BB

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

Preview Lab → · Contrast checker → · Palette generator →

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