#6863EA#6863EA

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

Color values

HEX#6863EA
RGBrgb(104, 99, 234)
HSLhsl(242, 76%, 65%)
HSVhsv(242, 58%, 92%)
CMYKcmyk(55.6%, 57.7%, 0%, 8.2%)
CIE-LABlab(49.26, 39.14, -67.91)
CIE-LCHlch(49.26, 78.39, 299.96°)
OKLaboklab(57.85% 0.034 -0.1948)
OKLCHoklch(57.85% 0.198 279.9)
XYZxyz(25.0174, 17.8056, 79.9445)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6863EA #E5EA63
analogous
#63A2EA #6863EA #AB63EA
triadic
#6863EA #EA6863 #63EA68
tetradic
#6863EA #EA63A2 #E5EA63 #63EAAB
square
#6863EA #EA63A2 #E5EA63 #63EAAB
split-complementary
#6863EA #EAAB63 #A2EA63
monochromatic
#1F19BA #342DE3 #6863EA #9C99F1 #D0CFF9

Accessibility & contrast

On white

4.60
#6863EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6863EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6863EA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6863EA#FFFFFF#000000##FFFFFF
##6863EA1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#23839D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6863ea;
/* rgb */ color: rgb(104, 99, 234);
/* oklch */ color: oklch(57.9% 0.198 279.9);
Tailwind
colors: {
  custom: {
    50: '#9e8ff2',
    500: '#6863ea',
    950: '#000000',
  },
}
SCSS
$custom: #6863ea;
$custom-light: #9e8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6863ea",
  "rgb": {
    "r": 104,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 242.222,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.19774,
    "h": 279.9
  },
  "luminance": 0.17807
}

Semantic roles & 50–950 ramp

primary
#6863EA
secondary
#E9EBBE
accent
#D80DD1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6863EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6863EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva