#6862BA#6862BA

#6862BA is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.4% C 0.134 H 284.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#6862BA
RGBrgb(104, 98, 186)
HSLhsl(244, 39%, 56%)
HSVhsv(244, 47%, 73%)
CMYKcmyk(44.1%, 47.3%, 0%, 27.1%)
CIE-LABlab(45.94, 25.06, -45.83)
CIE-LCHlch(45.94, 52.23, 298.67°)
OKLaboklab(54.39% 0.0326 -0.1299)
OKLCHoklch(54.39% 0.134 284.1)
XYZxyz(18.9369, 15.2228, 48.3854)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6862BA #B4BA62
analogous
#6288BA #6862BA #9462BA
triadic
#6862BA #BA6862 #62BA68
tetradic
#6862BA #BA6288 #B4BA62 #62BA94
square
#6862BA #BA6288 #B4BA62 #62BA94
split-complementary
#6862BA #BA9462 #88BA62
monochromatic
#363170 #4A449B #6862BA #918DCD #BAB7DF

Accessibility & contrast

On white

5.19
#6862BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6862BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6862BA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6862BA#FFFFFF#000000##FFFFFF
##6862BA1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6862ba;
/* rgb */ color: rgb(104, 98, 186);
/* oklch */ color: oklch(54.4% 0.134 284.1);
Tailwind
colors: {
  custom: {
    50: '#988ecf',
    500: '#6862ba',
    950: '#000000',
  },
}
SCSS
$custom: #6862ba;
$custom-light: #988ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#6862ba",
  "rgb": {
    "r": 104,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 244.091,
    "s": 38.938,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54386,
    "c": 0.13394,
    "h": 284.1
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#6862BA
secondary
#CCCEAA
accent
#CF59C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6862BA

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

Preview Lab → · Contrast checker → · Palette generator →

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