#6861EF#6861EF

#6861EF is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.9% C 0.207 H 280.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#6861EF
RGBrgb(104, 97, 239)
HSLhsl(243, 82%, 66%)
HSVhsv(243, 59%, 94%)
CMYKcmyk(56.5%, 59.4%, 0%, 6.3%)
CIE-LABlab(49.16, 41.87, -70.88)
CIE-LCHlch(49.16, 82.33, 300.57°)
OKLaboklab(57.89% 0.0358 -0.2035)
OKLCHoklch(57.89% 0.207 280)
XYZxyz(25.5587, 17.7227, 83.7186)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6861EF #E8EF61
analogous
#61A1EF #6861EF #AF61EF
triadic
#6861EF #EF6861 #61EF68
tetradic
#6861EF #EF61A1 #E8EF61 #61EFAF
square
#6861EF #EF61A1 #E8EF61 #61EFAF
split-complementary
#6861EF #EFAF61 #A1EF61
monochromatic
#1C14C2 #3329E9 #6861EF #9D99F5 #D2D0FA

Accessibility & contrast

On white

4.62
#6861EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#6861EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6861EF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6861EF#FFFFFF#000000##FFFFFF
##6861EF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#1A839F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6861ef;
/* rgb */ color: rgb(104, 97, 239);
/* oklch */ color: oklch(57.9% 0.207 280.0);
Tailwind
colors: {
  custom: {
    50: '#9e8ef5',
    500: '#6861ef',
    950: '#000000',
  },
}
SCSS
$custom: #6861ef;
$custom-light: #9e8ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#6861ef",
  "rgb": {
    "r": 104,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 242.958,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57888,
    "c": 0.20667,
    "h": 280
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#6861EF
secondary
#EBEDBE
accent
#DE08D3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6861EF

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

Preview Lab → · Contrast checker → · Palette generator →

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