#6881EB#6881EB

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

Color values

HEX#6881EB
RGBrgb(104, 129, 235)
HSLhsl(229, 77%, 66%)
HSVhsv(229, 56%, 92%)
CMYKcmyk(55.7%, 45.1%, 0%, 7.8%)
CIE-LABlab(56.72, 21.40, -56.45)
CIE-LCHlch(56.72, 60.37, 290.76°)
OKLaboklab(63.48% 0.0034 -0.1608)
OKLCHoklch(63.48% 0.161 271.2)
XYZxyz(28.5496, 24.6396, 81.8326)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6881EB #EBD268
analogous
#68C2EB #6881EB #9168EB
triadic
#6881EB #EB6881 #81EB68
tetradic
#6881EB #EB68C2 #EBD268 #68EB91
square
#6881EB #EB68C2 #EBD268 #68EB91
split-complementary
#6881EB #EB9168 #C2EB68
monochromatic
#1939BF #3254E4 #6881EB #9EAEF2 #D4DBF9

Accessibility & contrast

On white

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

On black

5.93
#6881EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6881EB
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6881EB#FFFFFF#000000##000000
##6881EB1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#3F83E9
Tritanopia (blue-blind)
#1798AB
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #6881eb;
/* rgb */ color: rgb(104, 129, 235);
/* oklch */ color: oklch(63.5% 0.161 271.2);
Tailwind
colors: {
  custom: {
    50: '#9ca5f2',
    500: '#6881eb',
    950: '#000000',
  },
}
SCSS
$custom: #6881eb;
$custom-light: #9ca5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6881eb",
  "rgb": {
    "r": 104,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 228.55,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6348,
    "c": 0.16088,
    "h": 271.2
  },
  "luminance": 0.24642
}

Semantic roles & 50–950 ramp

primary
#6881EB
secondary
#EDE5C2
accent
#B20DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#0F0F17
muted
#7F7F85

Preview Lab

Preview with #6881EB

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

Preview Lab → · Contrast checker → · Palette generator →

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