#6771D8#6771D8

#6771D8 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.1% C 0.155 H 276.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6771D8
RGBrgb(103, 113, 216)
HSLhsl(235, 59%, 63%)
HSVhsv(235, 52%, 85%)
CMYKcmyk(52.3%, 47.7%, 0%, 15.3%)
CIE-LABlab(51.44, 24.86, -54.25)
CIE-LCHlch(51.44, 59.67, 294.62°)
OKLaboklab(59.09% 0.0173 -0.1545)
OKLCHoklch(59.09% 0.155 276.4)
XYZxyz(23.8894, 19.6502, 67.4865)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6771D8 #D8CE67
analogous
#67AAD8 #6771D8 #9567D8
triadic
#6771D8 #D86771 #71D867
tetradic
#6771D8 #D867AA #D8CE67 #67D895
square
#6771D8 #D867AA #D8CE67 #67D895
split-complementary
#6771D8 #D89567 #AAD867
monochromatic
#28329C #3644CC #6771D8 #989EE4 #C8CCF1

Accessibility & contrast

On white

4.26
#6771D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#6771D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6771D8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6771D8#FFFFFF#000000##000000
##6771D81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#427FDC
Deuteranopia (green-blind)
#3576D6
Tritanopia (blue-blind)
#34889A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6771d8;
/* rgb */ color: rgb(103, 113, 216);
/* oklch */ color: oklch(59.1% 0.155 276.4);
Tailwind
colors: {
  custom: {
    50: '#9a99e5',
    500: '#6771d8',
    950: '#000000',
  },
}
SCSS
$custom: #6771d8;
$custom-light: #9a99e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6771d8",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 234.69,
    "s": 59.162,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59093,
    "c": 0.15549,
    "h": 276.4
  },
  "luminance": 0.19652
}

Semantic roles & 50–950 ramp

primary
#6771D8
secondary
#E2DEB9
accent
#B81FC7
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6771D8

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

Preview Lab → · Contrast checker → · Palette generator →

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