#6864E7#6864E7

#6864E7 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.8% C 0.193 H 279.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6864E7
RGBrgb(104, 100, 231)
HSLhsl(242, 73%, 65%)
HSVhsv(242, 57%, 91%)
CMYKcmyk(55%, 56.7%, 0%, 9.4%)
CIE-LABlab(49.28, 37.62, -66.19)
CIE-LCHlch(49.28, 76.13, 299.61°)
OKLaboklab(57.8% 0.033 -0.1897)
OKLCHoklch(57.8% 0.193 279.9)
XYZxyz(24.6854, 17.8253, 77.7257)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6864E7 #E3E764
analogous
#64A2E7 #6864E7 #A964E7
triadic
#6864E7 #E76864 #64E768
tetradic
#6864E7 #E764A2 #E3E764 #64E7A9
square
#6864E7 #E764A2 #E3E764 #64E7A9
split-complementary
#6864E7 #E7A964 #A2E764
monochromatic
#211CB5 #342FDF #6864E7 #9C99EF #CFCEF7

Accessibility & contrast

On white

4.60
#6864E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6864E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6864E7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6864E7#FFFFFF#000000##FFFFFF
##6864E71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#28839C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6864e7;
/* rgb */ color: rgb(104, 100, 231);
/* oklch */ color: oklch(57.8% 0.193 279.9);
Tailwind
colors: {
  custom: {
    50: '#9d90ef',
    500: '#6864e7',
    950: '#000000',
  },
}
SCSS
$custom: #6864e7;
$custom-light: #9d90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6864e7",
  "rgb": {
    "r": 104,
    "g": 100,
    "b": 231
  },
  "hsl": {
    "h": 241.832,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.19257,
    "h": 279.9
  },
  "luminance": 0.17827
}

Semantic roles & 50–950 ramp

primary
#6864E7
secondary
#E8EABD
accent
#D510CF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6864E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6864E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva