#6771DC#6771DC

#6771DC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.161 H 276.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#6771DC
RGBrgb(103, 113, 220)
HSLhsl(235, 63%, 63%)
HSVhsv(235, 53%, 86%)
CMYKcmyk(53.2%, 48.6%, 0%, 13.7%)
CIE-LABlab(51.68, 26.12, -56.13)
CIE-LCHlch(51.68, 61.91, 294.95°)
OKLaboklab(59.35% 0.0177 -0.16)
OKLCHoklch(59.35% 0.161 276.3)
XYZxyz(24.4128, 19.8595, 70.2431)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6771DC #DCD267
analogous
#67ABDC #6771DC #9767DC
triadic
#6771DC #DC6771 #71DC67
tetradic
#6771DC #DC67AB #DCD267 #67DC97
square
#6771DC #DC67AB #DCD267 #67DC97
split-complementary
#6771DC #DC9767 #ABDC67
monochromatic
#2630A3 #3543D1 #6771DC #999FE7 #CACEF3

Accessibility & contrast

On white

4.22
#6771DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#6771DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6771DC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6771DC#FFFFFF#000000##000000
##6771DC1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#2F77DA
Tritanopia (blue-blind)
#30899C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6771dc;
/* rgb */ color: rgb(103, 113, 220);
/* oklch */ color: oklch(59.4% 0.161 276.3);
Tailwind
colors: {
  custom: {
    50: '#9a99e7',
    500: '#6771dc',
    950: '#000000',
  },
}
SCSS
$custom: #6771dc;
$custom-light: #9a99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6771dc",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 234.872,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5935,
    "c": 0.16102,
    "h": 276.3
  },
  "luminance": 0.19861
}

Semantic roles & 50–950 ramp

primary
#6771DC
secondary
#E4E1BB
accent
#BB1BCA
background
#FAF9FE
surface
#F3F2FC
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6771DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6771DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva