#6166AC#6166AC

#6166AC is a mid, moderate blue. Relative luminance 0.150; OKLCH L 53.8% C 0.109 H 279.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6166AC
RGBrgb(97, 102, 172)
HSLhsl(236, 31%, 53%)
HSVhsv(236, 44%, 67%)
CMYKcmyk(43.6%, 40.7%, 0%, 32.5%)
CIE-LABlab(45.66, 16.61, -38.13)
CIE-LCHlch(45.66, 41.59, 293.54°)
OKLaboklab(53.79% 0.017 -0.1075)
OKLCHoklch(53.79% 0.109 279)
XYZxyz(17.1253, 15.0219, 41.0189)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166AC #ACA761
analogous
#618BAC #6166AC #8161AC
triadic
#6166AC #AC6166 #66AC61
tetradic
#6166AC #AC618B #ACA761 #61AC81
square
#6166AC #AC618B #ACA761 #61AC81
split-complementary
#6166AC #AC8161 #8BAC61
monochromatic
#323660 #484C88 #6166AC #898DC1 #B1B4D6

Accessibility & contrast

On white

5.24
#6166AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6166AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166AC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166AC#FFFFFF#000000##FFFFFF
##6166AC1.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAF
Deuteranopia (green-blind)
#4869AA
Tritanopia (blue-blind)
#497481
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6166ac;
/* rgb */ color: rgb(97, 102, 172);
/* oklch */ color: oklch(53.8% 0.109 279.0);
Tailwind
colors: {
  custom: {
    50: '#9191c5',
    500: '#6166ac',
    950: '#000000',
  },
}
SCSS
$custom: #6166ac;
$custom-light: #9191c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6166ac",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 236,
    "s": 31.12,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5379,
    "c": 0.10885,
    "h": 279
  },
  "luminance": 0.15023
}

Semantic roles & 50–950 ramp

primary
#6166AC
secondary
#C5C2A4
accent
#C060C7
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #6166AC

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

Preview Lab → · Contrast checker → · Palette generator →

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