#6862CA#6862CA

#6862CA is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.4% C 0.156 H 282.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6862CA
RGBrgb(104, 98, 202)
HSLhsl(243, 50%, 59%)
HSVhsv(243, 51%, 79%)
CMYKcmyk(48.5%, 51.5%, 0%, 20.8%)
CIE-LABlab(46.90, 29.88, -53.54)
CIE-LCHlch(46.90, 61.31, 299.16°)
OKLaboklab(55.42% 0.0342 -0.1525)
OKLCHoklch(55.42% 0.156 282.6)
XYZxyz(20.7341, 15.9416, 57.8502)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862CA #C4CA62
analogous
#6290CA #6862CA #9C62CA
triadic
#6862CA #CA6862 #62CA68
tetradic
#6862CA #CA6290 #C4CA62 #62CA9C
square
#6862CA #CA6290 #C4CA62 #62CA9C
split-complementary
#6862CA #CA9C62 #90CA62
monochromatic
#322D85 #433CB3 #6862CA #9490D9 #C0BEE9

Accessibility & contrast

On white

5.01
#6862CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6862CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6862CA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862CA#FFFFFF#000000##FFFFFF
##6862CA1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F73CE
Deuteranopia (green-blind)
#286CC8
Tritanopia (blue-blind)
#45798D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6862ca;
/* rgb */ color: rgb(104, 98, 202);
/* oklch */ color: oklch(55.4% 0.156 282.6);
Tailwind
colors: {
  custom: {
    50: '#998edb',
    500: '#6862ca',
    950: '#000000',
  },
}
SCSS
$custom: #6862ca;
$custom-light: #998edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6862ca",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 243.462,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55417,
    "c": 0.15632,
    "h": 282.6
  },
  "luminance": 0.15943
}

Semantic roles & 50–950 ramp

primary
#6862CA
secondary
#D6D8AF
accent
#D94FD1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6862CA

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

Preview Lab → · Contrast checker → · Palette generator →

#6862CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva