#6166AE#6166AE

#6166AE is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.9% C 0.112 H 278.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6166AE
RGBrgb(97, 102, 174)
HSLhsl(236, 32%, 53%)
HSVhsv(236, 44%, 68%)
CMYKcmyk(44.3%, 41.4%, 0%, 31.8%)
CIE-LABlab(45.77, 17.21, -39.13)
CIE-LCHlch(45.77, 42.75, 293.74°)
OKLaboklab(53.91% 0.0174 -0.1104)
OKLCHoklch(53.91% 0.112 278.9)
XYZxyz(17.3188, 15.0993, 42.0381)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166AE #AEA961
analogous
#618CAE #6166AE #8261AE
triadic
#6166AE #AE6166 #66AE61
tetradic
#6166AE #AE618C #AEA961 #61AE82
square
#6166AE #AE618C #AEA961 #61AE82
split-complementary
#6166AE #AE8261 #8CAE61
monochromatic
#323562 #474B8B #6166AE #898DC3 #B2B4D7

Accessibility & contrast

On white

5.22
#6166AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6166AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166AE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166AE#FFFFFF#000000##FFFFFF
##6166AE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FB1
Deuteranopia (green-blind)
#466AAC
Tritanopia (blue-blind)
#487581
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6166ae;
/* rgb */ color: rgb(97, 102, 174);
/* oklch */ color: oklch(53.9% 0.112 278.9);
Tailwind
colors: {
  custom: {
    50: '#9291c6',
    500: '#6166ae',
    950: '#000000',
  },
}
SCSS
$custom: #6166ae;
$custom-light: #9291c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6166ae",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 174
  },
  "hsl": {
    "h": 236.104,
    "s": 32.218,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53905,
    "c": 0.1118,
    "h": 278.9
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#6166AE
secondary
#C6C4A5
accent
#C25FC8
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #6166AE

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

Preview Lab → · Contrast checker → · Palette generator →

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