#6862CF#6862CF

#6862CF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.8% C 0.163 H 282.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6862CF
RGBrgb(104, 98, 207)
HSLhsl(243, 53%, 60%)
HSVhsv(243, 53%, 81%)
CMYKcmyk(49.8%, 52.7%, 0%, 18.8%)
CIE-LABlab(47.21, 31.40, -55.90)
CIE-LCHlch(47.21, 64.12, 299.33°)
OKLaboklab(55.75% 0.0345 -0.1595)
OKLCHoklch(55.75% 0.163 282.2)
XYZxyz(21.3357, 16.1823, 61.0187)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862CF #C9CF62
analogous
#6292CF #6862CF #9F62CF
triadic
#6862CF #CF6862 #62CF68
tetradic
#6862CF #CF6292 #C9CF62 #62CF9F
square
#6862CF #CF6292 #C9CF62 #62CF9F
split-complementary
#6862CF #CF9F62 #92CF62
monochromatic
#302B8C #4039BB #6862CF #9591DD #C2C0EC

Accessibility & contrast

On white

4.96
#6862CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6862CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6862CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862CF#FFFFFF#000000##FFFFFF
##6862CF1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2974D3
Deuteranopia (green-blind)
#1F6CCD
Tritanopia (blue-blind)
#417A8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6862cf;
/* rgb */ color: rgb(104, 98, 207);
/* oklch */ color: oklch(55.8% 0.163 282.2);
Tailwind
colors: {
  custom: {
    50: '#9a8ede',
    500: '#6862cf',
    950: '#000000',
  },
}
SCSS
$custom: #6862cf;
$custom-light: #9a8ede;
$custom-dark: #000000;
JSON
{
  "hex": "#6862cf",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 243.303,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.16316,
    "h": 282.2
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#6862CF
secondary
#D9DBB1
accent
#DD4BD5
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0F0C15
muted
#7E7D83

Preview Lab

Preview with #6862CF

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

Preview Lab → · Contrast checker → · Palette generator →

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