#6771EB#6771EB

#6771EB is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.181 H 276.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6771EB
RGBrgb(103, 113, 235)
HSLhsl(235, 77%, 66%)
HSVhsv(235, 56%, 92%)
CMYKcmyk(56.2%, 51.9%, 0%, 7.8%)
CIE-LABlab(52.61, 30.87, -63.06)
CIE-LCHlch(52.61, 70.21, 296.08°)
OKLaboklab(60.35% 0.019 -0.1804)
OKLCHoklch(60.35% 0.181 276)
XYZxyz(26.4892, 20.6901, 81.1789)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6771EB #EBE167
analogous
#67B3EB #6771EB #9F67EB
triadic
#6771EB #EB6771 #71EB67
tetradic
#6771EB #EB67B3 #EBE167 #67EB9F
square
#6771EB #EB67B3 #EBE167 #67EB9F
split-complementary
#6771EB #EB9F67 #B3EB67
monochromatic
#1926BF #313EE4 #6771EB #9DA4F2 #D3D6F9

Accessibility & contrast

On white

4.09
#6771EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#6771EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6771EB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6771EB#FFFFFF#000000##000000
##6771EB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EF
Deuteranopia (green-blind)
#0878E8
Tritanopia (blue-blind)
#188DA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6771eb;
/* rgb */ color: rgb(103, 113, 235);
/* oklch */ color: oklch(60.4% 0.181 276.0);
Tailwind
colors: {
  custom: {
    50: '#9c99f2',
    500: '#6771eb',
    950: '#000000',
  },
}
SCSS
$custom: #6771eb;
$custom-light: #9c99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6771eb",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 235.455,
    "s": 76.744,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6035,
    "c": 0.18144,
    "h": 276
  },
  "luminance": 0.20692
}

Semantic roles & 50–950 ramp

primary
#6771EB
secondary
#ECE9C1
accent
#C90DD9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6771EB

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

Preview Lab → · Contrast checker → · Palette generator →

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