#6166BB#6166BB

#6166BB is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.7% C 0.131 H 278.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6166BB
RGBrgb(97, 102, 187)
HSLhsl(237, 40%, 56%)
HSVhsv(237, 48%, 73%)
CMYKcmyk(48.1%, 45.5%, 0%, 26.7%)
CIE-LABlab(46.49, 21.20, -45.57)
CIE-LCHlch(46.49, 50.26, 294.95°)
OKLaboklab(54.68% 0.0196 -0.1293)
OKLCHoklch(54.68% 0.131 278.6)
XYZxyz(18.6480, 15.6310, 49.0385)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166BB #BBB661
analogous
#6193BB #6166BB #8961BB
triadic
#6166BB #BB6166 #66BB61
tetradic
#6166BB #BB6193 #BBB661 #61BB89
square
#6166BB #BB6193 #BBB661 #61BB89
split-complementary
#6166BB #BB8961 #93BB61
monochromatic
#313471 #43489C #6166BB #8C8FCD #B7B9E0

Accessibility & contrast

On white

5.09
#6166BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6166BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166BB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166BB#FFFFFF#000000##FFFFFF
##6166BB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#407887
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6166bb;
/* rgb */ color: rgb(97, 102, 187);
/* oklch */ color: oklch(54.7% 0.131 278.6);
Tailwind
colors: {
  custom: {
    50: '#9391d0',
    500: '#6166bb',
    950: '#000000',
  },
}
SCSS
$custom: #6166bb;
$custom-light: #9391d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6166bb",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 236.667,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.13076,
    "h": 278.6
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#6166BB
secondary
#CFCDA9
accent
#C958D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #6166BB

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

Preview Lab → · Contrast checker → · Palette generator →

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