#6166CE#6166CE

#6166CE is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.9% C 0.158 H 277.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6166CE
RGBrgb(97, 102, 206)
HSLhsl(237, 53%, 59%)
HSVhsv(237, 53%, 81%)
CMYKcmyk(52.9%, 50.5%, 0%, 19.2%)
CIE-LABlab(47.62, 27.16, -54.70)
CIE-LCHlch(47.62, 61.07, 296.41°)
OKLaboklab(55.91% 0.0217 -0.1561)
OKLCHoklch(55.91% 0.158 277.9)
XYZxyz(20.8182, 16.4991, 60.4682)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166CE #CEC961
analogous
#619DCE #6166CE #9361CE
triadic
#6166CE #CE6166 #66CE61
tetradic
#6166CE #CE619D #CEC961 #61CE93
square
#6166CE #CE619D #CEC961 #61CE93
split-complementary
#6166CE #CE9361 #9DCE61
monochromatic
#2B2F8A #393FB9 #6166CE #9093DC #BEC0EB

Accessibility & contrast

On white

4.88
#6166CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6166CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166CE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166CE#FFFFFF#000000##FFFFFF
##6166CE1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3275D2
Deuteranopia (green-blind)
#246DCC
Tritanopia (blue-blind)
#307D90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6166ce;
/* rgb */ color: rgb(97, 102, 206);
/* oklch */ color: oklch(55.9% 0.158 277.9);
Tailwind
colors: {
  custom: {
    50: '#9691de',
    500: '#6166ce',
    950: '#000000',
  },
}
SCSS
$custom: #6166ce;
$custom-light: #9691de;
$custom-dark: #000000;
JSON
{
  "hex": "#6166ce",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 237.248,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55909,
    "c": 0.15761,
    "h": 277.9
  },
  "luminance": 0.165
}

Semantic roles & 50–950 ramp

primary
#6166CE
secondary
#DBD9B0
accent
#D54CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6166CE

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

Preview Lab → · Contrast checker → · Palette generator →

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