#6861EC#6861EC

#6861EC is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.7% C 0.203 H 280.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6861EC
RGBrgb(104, 97, 236)
HSLhsl(243, 79%, 65%)
HSVhsv(243, 59%, 93%)
CMYKcmyk(55.9%, 58.9%, 0%, 7.5%)
CIE-LABlab(48.94, 40.95, -69.55)
CIE-LCHlch(48.94, 80.71, 300.49°)
OKLaboklab(57.66% 0.0359 -0.1996)
OKLCHoklch(57.66% 0.203 280.2)
XYZxyz(25.1192, 17.5469, 81.4039)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6861EC #E5EC61
analogous
#619FEC #6861EC #AE61EC
triadic
#6861EC #EC6861 #61EC68
tetradic
#6861EC #EC619F #E5EC61 #61ECAE
square
#6861EC #EC619F #E5EC61 #61ECAE
split-complementary
#6861EC #ECAE61 #9FEC61
monochromatic
#1F17BC #342AE5 #6861EC #9C98F3 #D0CEF9

Accessibility & contrast

On white

4.66
#6861EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6861EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6861EC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6861EC#FFFFFF#000000##FFFFFF
##6861EC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#006FE9
Tritanopia (blue-blind)
#20829D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6861ec;
/* rgb */ color: rgb(104, 97, 236);
/* oklch */ color: oklch(57.7% 0.203 280.2);
Tailwind
colors: {
  custom: {
    50: '#9e8ef3',
    500: '#6861ec',
    950: '#000000',
  },
}
SCSS
$custom: #6861ec;
$custom-light: #9e8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6861ec",
  "rgb": {
    "r": 104,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 243.022,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57661,
    "c": 0.20284,
    "h": 280.2
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#6861EC
secondary
#E9ECBD
accent
#DB0BD0
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6861EC

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

Preview Lab → · Contrast checker → · Palette generator →

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