#6862BB#6862BB

#6862BB is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.4% C 0.135 H 284.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6862BB
RGBrgb(104, 98, 187)
HSLhsl(244, 40%, 56%)
HSVhsv(244, 48%, 73%)
CMYKcmyk(44.4%, 47.6%, 0%, 26.7%)
CIE-LABlab(46.00, 25.35, -46.32)
CIE-LCHlch(46.00, 52.81, 298.69°)
OKLaboklab(54.45% 0.0328 -0.1313)
OKLCHoklch(54.45% 0.135 284)
XYZxyz(19.0436, 15.2655, 48.9472)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862BB #B5BB62
analogous
#6288BB #6862BB #9462BB
triadic
#6862BB #BB6862 #62BB68
tetradic
#6862BB #BB6288 #B5BB62 #62BB94
square
#6862BB #BB6288 #B5BB62 #62BB94
split-complementary
#6862BB #BB9462 #88BB62
monochromatic
#353171 #4A449C #6862BB #918DCD #BAB7E0

Accessibility & contrast

On white

5.18
#6862BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6862BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6862BB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862BB#FFFFFF#000000##FFFFFF
##6862BB1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#4E7485
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6862bb;
/* rgb */ color: rgb(104, 98, 187);
/* oklch */ color: oklch(54.4% 0.135 284.0);
Tailwind
colors: {
  custom: {
    50: '#988ed0',
    500: '#6862bb',
    950: '#000000',
  },
}
SCSS
$custom: #6862bb;
$custom-light: #988ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6862bb",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 244.045,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54448,
    "c": 0.13536,
    "h": 284
  },
  "luminance": 0.15266
}

Semantic roles & 50–950 ramp

primary
#6862BB
secondary
#CCCFAA
accent
#CF58C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6862BB

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

Preview Lab → · Contrast checker → · Palette generator →

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