#6166B4#6166B4

#6166B4 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.3% C 0.121 H 278.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6166B4
RGBrgb(97, 102, 180)
HSLhsl(236, 36%, 54%)
HSVhsv(236, 46%, 71%)
CMYKcmyk(46.1%, 43.3%, 0%, 29.4%)
CIE-LABlab(46.09, 19.04, -42.12)
CIE-LCHlch(46.09, 46.23, 294.32°)
OKLaboklab(54.26% 0.0184 -0.1192)
OKLCHoklch(54.26% 0.121 278.8)
XYZxyz(17.9169, 15.3385, 45.1877)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166B4 #B4AF61
analogous
#618FB4 #6166B4 #8661B4
triadic
#6166B4 #B46166 #66B461
tetradic
#6166B4 #B4618F #B4AF61 #61B486
square
#6166B4 #B4618F #B4AF61 #61B486
split-complementary
#6166B4 #B48661 #8FB461
monochromatic
#323569 #454A92 #6166B4 #8B8EC8 #B4B6DB

Accessibility & contrast

On white

5.16
#6166B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6166B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166B4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166B4#FFFFFF#000000##FFFFFF
##6166B41.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B7
Deuteranopia (green-blind)
#426AB2
Tritanopia (blue-blind)
#447684
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6166b4;
/* rgb */ color: rgb(97, 102, 180);
/* oklch */ color: oklch(54.3% 0.121 278.8);
Tailwind
colors: {
  custom: {
    50: '#9291cb',
    500: '#6166b4',
    950: '#000000',
  },
}
SCSS
$custom: #6166b4;
$custom-light: #9291cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6166b4",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 236.386,
    "s": 35.622,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.12061,
    "h": 278.8
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

primary
#6166B4
secondary
#CAC8A7
accent
#C55CCC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #6166B4

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

Preview Lab → · Contrast checker → · Palette generator →

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