#6166D1#6166D1

#6166D1 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.1% C 0.162 H 277.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6166D1
RGBrgb(97, 102, 209)
HSLhsl(237, 55%, 60%)
HSVhsv(237, 54%, 82%)
CMYKcmyk(53.6%, 51.2%, 0%, 18%)
CIE-LABlab(47.81, 28.11, -56.11)
CIE-LCHlch(47.81, 62.76, 296.61°)
OKLaboklab(56.11% 0.022 -0.1602)
OKLCHoklch(56.11% 0.162 277.8)
XYZxyz(21.1861, 16.6462, 62.4059)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166D1 #D1CC61
analogous
#619ED1 #6166D1 #9461D1
triadic
#6166D1 #D16166 #66D161
tetradic
#6166D1 #D1619E #D1CC61 #61D194
square
#6166D1 #D1619E #D1CC61 #61D194
split-complementary
#6166D1 #D19461 #9ED161
monochromatic
#292E8E #373DBE #6166D1 #9094DF #C0C2ED

Accessibility & contrast

On white

4.85
#6166D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#6166D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166D1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166D1#FFFFFF#000000##FFFFFF
##6166D11.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E76D5
Deuteranopia (green-blind)
#1E6DCF
Tritanopia (blue-blind)
#2D7E92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6166d1;
/* rgb */ color: rgb(97, 102, 209);
/* oklch */ color: oklch(56.1% 0.162 277.8);
Tailwind
colors: {
  custom: {
    50: '#9691e0',
    500: '#6166d1',
    950: '#000000',
  },
}
SCSS
$custom: #6166d1;
$custom-light: #9691e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6166d1",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 209
  },
  "hsl": {
    "h": 237.321,
    "s": 54.902,
    "l": 60
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.16175,
    "h": 277.8
  },
  "luminance": 0.16648
}

Semantic roles & 50–950 ramp

primary
#6166D1
secondary
#DCDBB1
accent
#D84ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6166D1

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

Preview Lab → · Contrast checker → · Palette generator →

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