#6166CC#6166CC

#6166CC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.8% C 0.155 H 278.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6166CC
RGBrgb(97, 102, 204)
HSLhsl(237, 51%, 59%)
HSVhsv(237, 52%, 80%)
CMYKcmyk(52.5%, 50%, 0%, 20%)
CIE-LABlab(47.50, 26.53, -53.75)
CIE-LCHlch(47.50, 59.94, 296.27°)
OKLaboklab(55.78% 0.0216 -0.1533)
OKLCHoklch(55.78% 0.155 278)
XYZxyz(20.5768, 16.4025, 59.1968)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166CC #CCC761
analogous
#619CCC #6166CC #9261CC
triadic
#6166CC #CC6166 #66CC61
tetradic
#6166CC #CC619C #CCC761 #61CC92
square
#6166CC #CC619C #CCC761 #61CC92
split-complementary
#6166CC #CC9261 #9CCC61
monochromatic
#2C3087 #3B40B5 #6166CC #8F93DB #BEC0EA

Accessibility & contrast

On white

4.91
#6166CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#6166CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166CC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166CC#FFFFFF#000000##FFFFFF
##6166CC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3475D0
Deuteranopia (green-blind)
#276DCA
Tritanopia (blue-blind)
#327D8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6166cc;
/* rgb */ color: rgb(97, 102, 204);
/* oklch */ color: oklch(55.8% 0.155 278.0);
Tailwind
colors: {
  custom: {
    50: '#9591dc',
    500: '#6166cc',
    950: '#000000',
  },
}
SCSS
$custom: #6166cc;
$custom-light: #9591dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6166cc",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 237.196,
    "s": 51.196,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55776,
    "c": 0.15483,
    "h": 278
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#6166CC
secondary
#D9D7AF
accent
#D44DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6166CC

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

Preview Lab → · Contrast checker → · Palette generator →

#6166CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva