#6671DC#6671DC

#6671DC is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.161 H 275.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#6671DC
RGBrgb(102, 113, 220)
HSLhsl(234, 63%, 63%)
HSVhsv(234, 54%, 86%)
CMYKcmyk(53.6%, 48.6%, 0%, 13.7%)
CIE-LABlab(51.61, 25.91, -56.24)
CIE-LCHlch(51.61, 61.92, 294.73°)
OKLaboklab(59.28% 0.0166 -0.1604)
OKLCHoklch(59.28% 0.161 275.9)
XYZxyz(24.2988, 19.8007, 70.2378)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6671DC #DCD166
analogous
#66ACDC #6671DC #9666DC
triadic
#6671DC #DC6671 #71DC66
tetradic
#6671DC #DC66AC #DCD166 #66DC96
square
#6671DC #DC66AC #DCD166 #66DC96
split-complementary
#6671DC #DC9666 #ACDC66
monochromatic
#2531A2 #3443D1 #6671DC #989FE7 #CACDF3

Accessibility & contrast

On white

4.23
#6671DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#6671DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6671DC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6671DC#FFFFFF#000000##000000
##6671DC1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#2E76DA
Tritanopia (blue-blind)
#2D899C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6671dc;
/* rgb */ color: rgb(102, 113, 220);
/* oklch */ color: oklch(59.3% 0.161 275.9);
Tailwind
colors: {
  custom: {
    50: '#9a99e7',
    500: '#6671dc',
    950: '#000000',
  },
}
SCSS
$custom: #6671dc;
$custom-light: #9a99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6671dc",
  "rgb": {
    "r": 102,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 234.407,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59282,
    "c": 0.16126,
    "h": 275.9
  },
  "luminance": 0.19802
}

Semantic roles & 50–950 ramp

primary
#6671DC
secondary
#E4E0BA
accent
#BA1BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6671DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6671DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva