#6861CD#6861CD

#6861CD is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.4% C 0.162 H 282.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6861CD
RGBrgb(104, 97, 205)
HSLhsl(244, 52%, 59%)
HSVhsv(244, 53%, 80%)
CMYKcmyk(49.3%, 52.7%, 0%, 19.6%)
CIE-LABlab(46.84, 31.40, -55.35)
CIE-LCHlch(46.84, 63.64, 299.56°)
OKLaboklab(55.44% 0.0355 -0.1579)
OKLCHoklch(55.44% 0.162 282.7)
XYZxyz(20.9997, 15.8991, 59.7081)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6861CD #C6CD61
analogous
#6190CD #6861CD #9E61CD
triadic
#6861CD #CD6861 #61CD68
tetradic
#6861CD #CD6190 #C6CD61 #61CD9E
square
#6861CD #CD6190 #C6CD61 #61CD9E
split-complementary
#6861CD #CD9E61 #90CD61
monochromatic
#312B88 #423AB7 #6861CD #948FDC #C1BEEA

Accessibility & contrast

On white

5.02
#6861CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6861CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6861CD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6861CD#FFFFFF#000000##FFFFFF
##6861CD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#206BCB
Tritanopia (blue-blind)
#43798E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6861cd;
/* rgb */ color: rgb(104, 97, 205);
/* oklch */ color: oklch(55.4% 0.162 282.7);
Tailwind
colors: {
  custom: {
    50: '#9a8edd',
    500: '#6861cd',
    950: '#000000',
  },
}
SCSS
$custom: #6861cd;
$custom-light: #9a8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#6861cd",
  "rgb": {
    "r": 104,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 243.889,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55436,
    "c": 0.16181,
    "h": 282.7
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#6861CD
secondary
#D7DAB0
accent
#DB4CD2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #6861CD

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

Preview Lab → · Contrast checker → · Palette generator →

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