#6166B9#6166B9

#6166B9 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.6% C 0.128 H 278.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6166B9
RGBrgb(97, 102, 185)
HSLhsl(237, 39%, 55%)
HSVhsv(237, 48%, 73%)
CMYKcmyk(47.6%, 44.9%, 0%, 27.5%)
CIE-LABlab(46.37, 20.58, -44.59)
CIE-LCHlch(46.37, 49.11, 294.77°)
OKLaboklab(54.56% 0.0193 -0.1264)
OKLCHoklch(54.56% 0.128 278.7)
XYZxyz(18.4354, 15.5459, 47.9188)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166B9 #B9B461
analogous
#6192B9 #6166B9 #8861B9
triadic
#6166B9 #B96166 #66B961
tetradic
#6166B9 #B96192 #B9B461 #61B988
square
#6166B9 #B96192 #B9B461 #61B988
split-complementary
#6166B9 #B98861 #92B961
monochromatic
#31356F #444999 #6166B9 #8B8FCC #B6B8DF

Accessibility & contrast

On white

5.11
#6166B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6166B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166B9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166B9#FFFFFF#000000##FFFFFF
##6166B91.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BC
Deuteranopia (green-blind)
#3E6BB7
Tritanopia (blue-blind)
#417786
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6166b9;
/* rgb */ color: rgb(97, 102, 185);
/* oklch */ color: oklch(54.6% 0.128 278.7);
Tailwind
colors: {
  custom: {
    50: '#9391ce',
    500: '#6166b9',
    950: '#000000',
  },
}
SCSS
$custom: #6166b9;
$custom-light: #9391ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6166b9",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 185
  },
  "hsl": {
    "h": 236.591,
    "s": 38.596,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54561,
    "c": 0.12788,
    "h": 278.7
  },
  "luminance": 0.15547
}

Semantic roles & 50–950 ramp

primary
#6166B9
secondary
#CDCBA9
accent
#C859CF
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #6166B9

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

Preview Lab → · Contrast checker → · Palette generator →

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