#6861EB#6861EB

#6861EB is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.6% C 0.202 H 280.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6861EB
RGBrgb(104, 97, 235)
HSLhsl(243, 78%, 65%)
HSVhsv(243, 59%, 92%)
CMYKcmyk(55.7%, 58.7%, 0%, 7.8%)
CIE-LABlab(48.87, 40.64, -69.11)
CIE-LCHlch(48.87, 80.17, 300.46°)
OKLaboklab(57.59% 0.0359 -0.1983)
OKLCHoklch(57.59% 0.202 280.3)
XYZxyz(24.9743, 17.4890, 80.6408)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6861EB #E4EB61
analogous
#619FEB #6861EB #AD61EB
triadic
#6861EB #EB6861 #61EB68
tetradic
#6861EB #EB619F #E4EB61 #61EBAD
square
#6861EB #EB619F #E4EB61 #61EBAD
split-complementary
#6861EB #EBAD61 #9FEB61
monochromatic
#2018BA #342BE4 #6861EB #9C97F2 #D0CEF9

Accessibility & contrast

On white

4.67
#6861EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#6861EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6861EB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6861EB#FFFFFF#000000##FFFFFF
##6861EB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#006FE8
Tritanopia (blue-blind)
#22829D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6861eb;
/* rgb */ color: rgb(104, 97, 235);
/* oklch */ color: oklch(57.6% 0.202 280.3);
Tailwind
colors: {
  custom: {
    50: '#9e8ef2',
    500: '#6861eb',
    950: '#000000',
  },
}
SCSS
$custom: #6861eb;
$custom-light: #9e8ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#6861eb",
  "rgb": {
    "r": 104,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 243.043,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57586,
    "c": 0.20155,
    "h": 280.3
  },
  "luminance": 0.17491
}

Semantic roles & 50–950 ramp

primary
#6861EB
secondary
#E9EBBD
accent
#DA0CCF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6861EB

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

Preview Lab → · Contrast checker → · Palette generator →

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