#6862CD#6862CD

#6862CD is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.6% C 0.160 H 282.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6862CD
RGBrgb(104, 98, 205)
HSLhsl(243, 52%, 59%)
HSVhsv(243, 52%, 80%)
CMYKcmyk(49.3%, 52.2%, 0%, 19.6%)
CIE-LABlab(47.09, 30.79, -54.96)
CIE-LCHlch(47.09, 63.00, 299.26°)
OKLaboklab(55.62% 0.0344 -0.1567)
OKLCHoklch(55.62% 0.16 282.4)
XYZxyz(21.0927, 16.0851, 59.7391)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862CD #C7CD62
analogous
#6292CD #6862CD #9D62CD
triadic
#6862CD #CD6862 #62CD68
tetradic
#6862CD #CD6292 #C7CD62 #62CD9D
square
#6862CD #CD6292 #C7CD62 #62CD9D
split-complementary
#6862CD #CD9D62 #92CD62
monochromatic
#312C89 #413AB7 #6862CD #9590DC #C1BFEB

Accessibility & contrast

On white

4.98
#6862CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#6862CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6862CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862CD#FFFFFF#000000##FFFFFF
##6862CD1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B73D1
Deuteranopia (green-blind)
#236CCB
Tritanopia (blue-blind)
#427A8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6862cd;
/* rgb */ color: rgb(104, 98, 205);
/* oklch */ color: oklch(55.6% 0.160 282.4);
Tailwind
colors: {
  custom: {
    50: '#9a8edd',
    500: '#6862cd',
    950: '#000000',
  },
}
SCSS
$custom: #6862cd;
$custom-light: #9a8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#6862cd",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 243.364,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55619,
    "c": 0.16043,
    "h": 282.4
  },
  "luminance": 0.16086
}

Semantic roles & 50–950 ramp

primary
#6862CD
secondary
#D8DAB1
accent
#DB4DD3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #6862CD

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

Preview Lab → · Contrast checker → · Palette generator →

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