#6865EC#6865EC

#6865EC is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.3% C 0.198 H 279.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6865EC
RGBrgb(104, 101, 236)
HSLhsl(241, 78%, 66%)
HSVhsv(241, 57%, 93%)
CMYKcmyk(55.9%, 57.2%, 0%, 7.5%)
CIE-LABlab(49.86, 38.58, -68.06)
CIE-LCHlch(49.86, 78.23, 299.55°)
OKLaboklab(58.34% 0.032 -0.1952)
OKLCHoklch(58.34% 0.198 279.3)
XYZxyz(25.4981, 18.3048, 81.5302)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6865EC #E9EC65
analogous
#65A5EC #6865EC #AB65EC
triadic
#6865EC #EC6865 #65EC68
tetradic
#6865EC #EC65A5 #E9EC65 #65ECAB
square
#6865EC #EC65A5 #E9EC65 #65ECAB
split-complementary
#6865EC #ECAB65 #A5EC65
monochromatic
#1B18BF #332FE5 #6865EC #9D9BF3 #D3D2F9

Accessibility & contrast

On white

4.51
#6865EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6865EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6865EC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6865EC#FFFFFF#000000##000000
##6865EC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#1F859F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6865ec;
/* rgb */ color: rgb(104, 101, 236);
/* oklch */ color: oklch(58.3% 0.198 279.3);
Tailwind
colors: {
  custom: {
    50: '#9e91f3',
    500: '#6865ec',
    950: '#000000',
  },
}
SCSS
$custom: #6865ec;
$custom-light: #9e91f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6865ec",
  "rgb": {
    "r": 104,
    "g": 101,
    "b": 236
  },
  "hsl": {
    "h": 241.333,
    "s": 78.035,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58342,
    "c": 0.19782,
    "h": 279.3
  },
  "luminance": 0.18307
}

Semantic roles & 50–950 ramp

primary
#6865EC
secondary
#ECEDC0
accent
#DA0BD6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6865EC

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

Preview Lab → · Contrast checker → · Palette generator →

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