#6166BD#6166BD

#6166BD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.8% C 0.134 H 278.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6166BD
RGBrgb(97, 102, 189)
HSLhsl(237, 41%, 56%)
HSVhsv(237, 49%, 74%)
CMYKcmyk(48.7%, 46%, 0%, 25.9%)
CIE-LABlab(46.60, 21.82, -46.55)
CIE-LCHlch(46.60, 51.41, 295.12°)
OKLaboklab(54.81% 0.0198 -0.1321)
OKLCHoklch(54.81% 0.134 278.5)
XYZxyz(18.8636, 15.7172, 50.1740)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166BD #BDB861
analogous
#6194BD #6166BD #8A61BD
triadic
#6166BD #BD6166 #66BD61
tetradic
#6166BD #BD6194 #BDB861 #61BD8A
square
#6166BD #BD6194 #BDB861 #61BD8A
split-complementary
#6166BD #BD8A61 #94BD61
monochromatic
#303473 #42479F #6166BD #8C90CF #B7BAE1

Accessibility & contrast

On white

5.07
#6166BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6166BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166BD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166BD#FFFFFF#000000##FFFFFF
##6166BD1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4272C0
Deuteranopia (green-blind)
#3A6BBB
Tritanopia (blue-blind)
#3E7888
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6166bd;
/* rgb */ color: rgb(97, 102, 189);
/* oklch */ color: oklch(54.8% 0.134 278.5);
Tailwind
colors: {
  custom: {
    50: '#9391d1',
    500: '#6166bd',
    950: '#000000',
  },
}
SCSS
$custom: #6166bd;
$custom-light: #9391d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6166bd",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 236.739,
    "s": 41.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.13363,
    "h": 278.5
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

primary
#6166BD
secondary
#D0CEAA
accent
#CA57D1
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6166BD

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

Preview Lab → · Contrast checker → · Palette generator →

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