#6771E4#6771E4

#6771E4 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.172 H 276.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6771E4
RGBrgb(103, 113, 228)
HSLhsl(235, 70%, 65%)
HSVhsv(235, 55%, 89%)
CMYKcmyk(54.8%, 50.4%, 0%, 10.6%)
CIE-LABlab(52.17, 28.65, -59.85)
CIE-LCHlch(52.17, 66.35, 295.58°)
OKLaboklab(59.88% 0.0184 -0.171)
OKLCHoklch(59.88% 0.172 276.2)
XYZxyz(25.4978, 20.2935, 75.9572)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6771E4 #E4DA67
analogous
#67B0E4 #6771E4 #9C67E4
triadic
#6771E4 #E46771 #71E467
tetradic
#6771E4 #E467B0 #E4DA67 #67E49C
square
#6771E4 #E467B0 #E4DA67 #67E49C
split-complementary
#6771E4 #E49C67 #B0E467
monochromatic
#1F2BB1 #3340DB #6771E4 #9BA2ED #CFD2F6

Accessibility & contrast

On white

4.15
#6771E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6771E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6771E4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6771E4#FFFFFF#000000##000000
##6771E41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E8
Deuteranopia (green-blind)
#2177E2
Tritanopia (blue-blind)
#258BA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6771e4;
/* rgb */ color: rgb(103, 113, 228);
/* oklch */ color: oklch(59.9% 0.172 276.2);
Tailwind
colors: {
  custom: {
    50: '#9b99ed',
    500: '#6771e4',
    950: '#000000',
  },
}
SCSS
$custom: #6771e4;
$custom-light: #9b99ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6771e4",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 235.2,
    "s": 69.832,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59877,
    "c": 0.17198,
    "h": 276.2
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#6771E4
secondary
#E9E5BE
accent
#C314D2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6771E4

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

Preview Lab → · Contrast checker → · Palette generator →

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