#6771DF#6771DF

#6771DF is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.5% C 0.165 H 276.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6771DF
RGBrgb(103, 113, 223)
HSLhsl(235, 65%, 64%)
HSVhsv(235, 54%, 87%)
CMYKcmyk(53.8%, 49.3%, 0%, 12.5%)
CIE-LABlab(51.86, 27.06, -57.53)
CIE-LCHlch(51.86, 63.58, 295.19°)
OKLaboklab(59.55% 0.018 -0.1642)
OKLCHoklch(59.55% 0.165 276.3)
XYZxyz(24.8137, 20.0199, 72.3544)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6771DF #DFD567
analogous
#67ADDF #6771DF #9967DF
triadic
#6771DF #DF6771 #71DF67
tetradic
#6771DF #DF67AD #DFD567 #67DF99
square
#6771DF #DF67AD #DFD567 #67DF99
split-complementary
#6771DF #DF9967 #ADDF67
monochromatic
#232EA8 #3442D4 #6771DF #9AA0EA #CCCFF4

Accessibility & contrast

On white

4.20
#6771DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#6771DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6771DF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6771DF#FFFFFF#000000##000000
##6771DF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#2B77DD
Tritanopia (blue-blind)
#2C899D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6771df;
/* rgb */ color: rgb(103, 113, 223);
/* oklch */ color: oklch(59.5% 0.165 276.3);
Tailwind
colors: {
  custom: {
    50: '#9b99ea',
    500: '#6771df',
    950: '#000000',
  },
}
SCSS
$custom: #6771df;
$custom-light: #9b99ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6771df",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 235,
    "s": 65.217,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.16515,
    "h": 276.3
  },
  "luminance": 0.20022
}

Semantic roles & 50–950 ramp

primary
#6771DF
secondary
#E6E2BC
accent
#BE18CD
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6771DF

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

Preview Lab → · Contrast checker → · Palette generator →

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