#6877DB#6877DB

#6877DB is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.5% C 0.152 H 274.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6877DB
RGBrgb(104, 119, 219)
HSLhsl(232, 61%, 63%)
HSVhsv(232, 53%, 86%)
CMYKcmyk(52.5%, 45.7%, 0%, 14.1%)
CIE-LABlab(53.22, 22.37, -53.09)
CIE-LCHlch(53.22, 57.61, 292.84°)
OKLaboklab(60.52% 0.012 -0.151)
OKLCHoklch(60.52% 0.152 274.5)
XYZxyz(25.0878, 21.2495, 69.7837)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6877DB #DBCC68
analogous
#68B0DB #6877DB #9268DB
triadic
#6877DB #DB6877 #77DB68
tetradic
#6877DB #DB68B0 #DBCC68 #68DB92
square
#6877DB #DB68B0 #DBCC68 #68DB92
split-complementary
#6877DB #DB9268 #B0DB68
monochromatic
#2737A2 #374ACF #6877DB #99A4E7 #CBD0F3

Accessibility & contrast

On white

4.00
#6877DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6877DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6877DB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6877DB#FFFFFF#000000##000000
##6877DB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#3E7BD9
Tritanopia (blue-blind)
#338D9E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6877db;
/* rgb */ color: rgb(104, 119, 219);
/* oklch */ color: oklch(60.5% 0.152 274.5);
Tailwind
colors: {
  custom: {
    50: '#9b9ee7',
    500: '#6877db',
    950: '#000000',
  },
}
SCSS
$custom: #6877db;
$custom-light: #9b9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6877db",
  "rgb": {
    "r": 104,
    "g": 119,
    "b": 219
  },
  "hsl": {
    "h": 232.174,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60519,
    "c": 0.15153,
    "h": 274.5
  },
  "luminance": 0.21251
}

Semantic roles & 50–950 ramp

primary
#6877DB
secondary
#E4DFBB
accent
#B31CC9
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6877DB

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

Preview Lab → · Contrast checker → · Palette generator →

#6877DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva