#6862CC#6862CC

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

Color values

HEX#6862CC
RGBrgb(104, 98, 204)
HSLhsl(243, 51%, 59%)
HSVhsv(243, 52%, 80%)
CMYKcmyk(49%, 52%, 0%, 20%)
CIE-LABlab(47.02, 30.49, -54.49)
CIE-LCHlch(47.02, 62.44, 299.23°)
OKLaboklab(55.55% 0.0343 -0.1553)
OKLCHoklch(55.55% 0.159 282.5)
XYZxyz(20.9724, 16.0370, 59.1054)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862CC #C6CC62
analogous
#6291CC #6862CC #9D62CC
triadic
#6862CC #CC6862 #62CC68
tetradic
#6862CC #CC6291 #C6CC62 #62CC9D
square
#6862CC #CC6291 #C6CC62 #62CC9D
split-complementary
#6862CC #CC9D62 #91CC62
monochromatic
#312C88 #423BB6 #6862CC #9490DB #C1BEEA

Accessibility & contrast

On white

4.99
#6862CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#6862CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6862CC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862CC#FFFFFF#000000##FFFFFF
##6862CC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73D0
Deuteranopia (green-blind)
#256CCA
Tritanopia (blue-blind)
#43798E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6862cc;
/* rgb */ color: rgb(104, 98, 204);
/* oklch */ color: oklch(55.6% 0.159 282.5);
Tailwind
colors: {
  custom: {
    50: '#9a8edc',
    500: '#6862cc',
    950: '#000000',
  },
}
SCSS
$custom: #6862cc;
$custom-light: #9a8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6862cc",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 243.396,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55551,
    "c": 0.15907,
    "h": 282.5
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#6862CC
secondary
#D7DAB0
accent
#DA4DD2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6862CC

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

Preview Lab → · Contrast checker → · Palette generator →

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