#6881EC#6881EC

#6881EC is a light, vivid blue. Relative luminance 0.247; OKLCH L 63.5% C 0.162 H 271.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6881EC
RGBrgb(104, 129, 236)
HSLhsl(229, 78%, 67%)
HSVhsv(229, 56%, 93%)
CMYKcmyk(55.9%, 45.3%, 0%, 7.5%)
CIE-LABlab(56.78, 21.72, -56.92)
CIE-LCHlch(56.78, 60.92, 290.88°)
OKLaboklab(63.54% 0.0035 -0.1622)
OKLCHoklch(63.54% 0.162 271.2)
XYZxyz(28.6945, 24.6976, 82.5956)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6881EC #ECD368
analogous
#68C3EC #6881EC #9168EC
triadic
#6881EC #EC6881 #81EC68
tetradic
#6881EC #EC68C3 #ECD368 #68EC91
square
#6881EC #EC68C3 #ECD368 #68EC91
split-complementary
#6881EC #EC9168 #C3EC68
monochromatic
#1838C1 #3254E5 #6881EC #9EAEF3 #D5DCFA

Accessibility & contrast

On white

3.54
#6881EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#6881EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6881EC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6881EC#FFFFFF#000000##000000
##6881EC1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#3E83EA
Tritanopia (blue-blind)
#1499AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6881ec;
/* rgb */ color: rgb(104, 129, 236);
/* oklch */ color: oklch(63.5% 0.162 271.2);
Tailwind
colors: {
  custom: {
    50: '#9ca5f3',
    500: '#6881ec',
    950: '#000000',
  },
}
SCSS
$custom: #6881ec;
$custom-light: #9ca5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6881ec",
  "rgb": {
    "r": 104,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 228.636,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63542,
    "c": 0.16225,
    "h": 271.2
  },
  "luminance": 0.247
}

Semantic roles & 50–950 ramp

primary
#6881EC
secondary
#EDE5C3
accent
#B30CDA
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6881EC

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

Preview Lab → · Contrast checker → · Palette generator →

#6881EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva