#6862BC#6862BC

#6862BC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.5% C 0.137 H 283.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6862BC
RGBrgb(104, 98, 188)
HSLhsl(244, 40%, 56%)
HSVhsv(244, 48%, 74%)
CMYKcmyk(44.7%, 47.9%, 0%, 26.3%)
CIE-LABlab(46.05, 25.65, -46.81)
CIE-LCHlch(46.05, 53.38, 298.72°)
OKLaboklab(54.51% 0.0329 -0.1328)
OKLCHoklch(54.51% 0.137 283.9)
XYZxyz(19.1510, 15.3084, 49.5129)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862BC #B6BC62
analogous
#6289BC #6862BC #9562BC
triadic
#6862BC #BC6862 #62BC68
tetradic
#6862BC #BC6289 #B6BC62 #62BC95
square
#6862BC #BC6289 #B6BC62 #62BC95
split-complementary
#6862BC #BC9562 #89BC62
monochromatic
#353173 #49439E #6862BC #918DCE #BBB8E1

Accessibility & contrast

On white

5.17
#6862BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6862BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6862BC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862BC#FFFFFF#000000##FFFFFF
##6862BC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D70BF
Deuteranopia (green-blind)
#396ABA
Tritanopia (blue-blind)
#4D7586
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6862bc;
/* rgb */ color: rgb(104, 98, 188);
/* oklch */ color: oklch(54.5% 0.137 283.9);
Tailwind
colors: {
  custom: {
    50: '#988ed1',
    500: '#6862bc',
    950: '#000000',
  },
}
SCSS
$custom: #6862bc;
$custom-light: #988ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6862bc",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 244,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.13678,
    "h": 283.9
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#6862BC
secondary
#CDCFAA
accent
#D058C8
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6862BC

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

Preview Lab → · Contrast checker → · Palette generator →

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