#6166CD#6166CD

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

Color values

HEX#6166CD
RGBrgb(97, 102, 205)
HSLhsl(237, 52%, 59%)
HSVhsv(237, 53%, 80%)
CMYKcmyk(52.7%, 50.2%, 0%, 19.6%)
CIE-LABlab(47.56, 26.84, -54.23)
CIE-LCHlch(47.56, 60.51, 296.34°)
OKLaboklab(55.84% 0.0217 -0.1547)
OKLCHoklch(55.84% 0.156 278)
XYZxyz(20.6971, 16.4506, 59.8304)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166CD #CDC861
analogous
#619CCD #6166CD #9261CD
triadic
#6166CD #CD6166 #66CD61
tetradic
#6166CD #CD619C #CDC861 #61CD92
square
#6166CD #CD619C #CDC861 #61CD92
split-complementary
#6166CD #CD9261 #9CCD61
monochromatic
#2B2F88 #3A40B7 #6166CD #8F93DC #BEC0EA

Accessibility & contrast

On white

4.89
#6166CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6166CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166CD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166CD#FFFFFF#000000##FFFFFF
##6166CD1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#317D90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6166cd;
/* rgb */ color: rgb(97, 102, 205);
/* oklch */ color: oklch(55.8% 0.156 278.0);
Tailwind
colors: {
  custom: {
    50: '#9591dd',
    500: '#6166cd',
    950: '#000000',
  },
}
SCSS
$custom: #6166cd;
$custom-light: #9591dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6166cd",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 237.222,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55842,
    "c": 0.15622,
    "h": 278
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#6166CD
secondary
#DAD8B0
accent
#D54CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6166CD

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

Preview Lab → · Contrast checker → · Palette generator →

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