#6771E7#6771E7

#6771E7 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.1% C 0.176 H 276.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6771E7
RGBrgb(103, 113, 231)
HSLhsl(235, 73%, 65%)
HSVhsv(235, 55%, 91%)
CMYKcmyk(55.4%, 51.1%, 0%, 9.4%)
CIE-LABlab(52.35, 29.60, -61.23)
CIE-LCHlch(52.35, 68.01, 295.80°)
OKLaboklab(60.08% 0.0187 -0.1751)
OKLCHoklch(60.08% 0.176 276.1)
XYZxyz(25.9178, 20.4615, 78.1695)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6771E7 #E7DD67
analogous
#67B1E7 #6771E7 #9D67E7
triadic
#6771E7 #E76771 #71E767
tetradic
#6771E7 #E767B1 #E7DD67 #67E79D
square
#6771E7 #E767B1 #E7DD67 #67E79D
split-complementary
#6771E7 #E79D67 #B1E767
monochromatic
#1D29B7 #3240DF #6771E7 #9CA2EF #D1D4F8

Accessibility & contrast

On white

4.12
#6771E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#6771E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6771E7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6771E7#FFFFFF#000000##000000
##6771E71.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EB
Deuteranopia (green-blind)
#1978E5
Tritanopia (blue-blind)
#208CA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6771e7;
/* rgb */ color: rgb(103, 113, 231);
/* oklch */ color: oklch(60.1% 0.176 276.1);
Tailwind
colors: {
  custom: {
    50: '#9c99ef',
    500: '#6771e7',
    950: '#000000',
  },
}
SCSS
$custom: #6771e7;
$custom-light: #9c99ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6771e7",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 235.313,
    "s": 72.727,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.17605,
    "h": 276.1
  },
  "luminance": 0.20463
}

Semantic roles & 50–950 ramp

primary
#6771E7
secondary
#EAE7BF
accent
#C511D5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6771E7

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

Preview Lab → · Contrast checker → · Palette generator →

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