#6166A1#6166A1

#6166A1 is a mid, moderate blue. Relative luminance 0.146; OKLCH L 53.2% C 0.092 H 279.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6166A1
RGBrgb(97, 102, 161)
HSLhsl(235, 25%, 51%)
HSVhsv(235, 40%, 63%)
CMYKcmyk(39.8%, 36.6%, 0%, 36.9%)
CIE-LABlab(45.10, 13.34, -32.54)
CIE-LCHlch(45.10, 35.17, 292.29°)
OKLaboklab(53.18% 0.0146 -0.0912)
OKLCHoklch(53.18% 0.092 279.1)
XYZxyz(16.1123, 14.6167, 35.6837)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166A1 #A19C61
analogous
#6186A1 #6166A1 #7C61A1
triadic
#6166A1 #A16166 #66A161
tetradic
#6166A1 #A16186 #A19C61 #61A17C
square
#6166A1 #A16186 #A19C61 #61A17C
split-complementary
#6166A1 #A17C61 #86A161
monochromatic
#333555 #494D7B #6166A1 #878BB8 #AEB0CF

Accessibility & contrast

On white

5.35
#6166A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#6166A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166A1
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166A1#FFFFFF#000000##FFFFFF
##6166A11.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526DA3
Deuteranopia (green-blind)
#4E68A0
Tritanopia (blue-blind)
#4E727C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6166a1;
/* rgb */ color: rgb(97, 102, 161);
/* oklch */ color: oklch(53.2% 0.092 279.1);
Tailwind
colors: {
  custom: {
    50: '#9091bd',
    500: '#6166a1',
    950: '#000000',
  },
}
SCSS
$custom: #6166a1;
$custom-light: #9091bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6166a1",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 161
  },
  "hsl": {
    "h": 235.313,
    "s": 25.397,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53178,
    "c": 0.0924,
    "h": 279.1
  },
  "luminance": 0.14617
}

Semantic roles & 50–950 ramp

primary
#6166A1
secondary
#BDBBA1
accent
#BB66C2
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #6166A1

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

Preview Lab → · Contrast checker → · Palette generator →

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