#6771F8#6771F8

#6771F8 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.3% C 0.199 H 275.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6771F8
RGBrgb(103, 113, 248)
HSLhsl(236, 91%, 69%)
HSVhsv(236, 58%, 97%)
CMYKcmyk(58.5%, 54.4%, 0%, 2.7%)
CIE-LABlab(53.46, 35.02, -68.93)
CIE-LCHlch(53.46, 77.32, 296.93°)
OKLaboklab(61.26% 0.0196 -0.1977)
OKLCHoklch(61.26% 0.199 275.7)
XYZxyz(28.4364, 21.4690, 91.4342)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6771F8 #F8EE67
analogous
#67BAF8 #6771F8 #A667F8
triadic
#6771F8 #F86771 #71F867
tetradic
#6771F8 #F867BA #F8EE67 #67F8A6
square
#6771F8 #F867BA #F8EE67 #67F8A6
split-complementary
#6771F8 #F8A667 #BAF867
monochromatic
#0A18DB #2C3AF5 #6771F8 #A2A8FB #DCDEFD

Accessibility & contrast

On white

3.97
#6771F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6771F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6771F8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6771F8#FFFFFF#000000##000000
##6771F81.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0786FD
Deuteranopia (green-blind)
#007AF5
Tritanopia (blue-blind)
#0091AA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6771f8;
/* rgb */ color: rgb(103, 113, 248);
/* oklch */ color: oklch(61.3% 0.199 275.7);
Tailwind
colors: {
  custom: {
    50: '#9e99fb',
    500: '#6771f8',
    950: '#000000',
  },
}
SCSS
$custom: #6771f8;
$custom-light: #9e99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#6771f8",
  "rgb": {
    "r": 103,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 235.862,
    "s": 91.195,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61257,
    "c": 0.19869,
    "h": 275.7
  },
  "luminance": 0.21471
}

Semantic roles & 50–950 ramp

primary
#6771F8
secondary
#F3F0C8
accent
#D600E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6771F8

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

Preview Lab → · Contrast checker → · Palette generator →

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