#6166BC#6166BC

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

Color values

HEX#6166BC
RGBrgb(97, 102, 188)
HSLhsl(237, 40%, 56%)
HSVhsv(237, 48%, 74%)
CMYKcmyk(48.4%, 45.7%, 0%, 26.3%)
CIE-LABlab(46.54, 21.51, -46.06)
CIE-LCHlch(46.54, 50.83, 295.03°)
OKLaboklab(54.75% 0.0197 -0.1307)
OKLCHoklch(54.75% 0.132 278.6)
XYZxyz(18.7555, 15.6739, 49.6043)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166BC #BCB761
analogous
#6193BC #6166BC #8961BC
triadic
#6166BC #BC6166 #66BC61
tetradic
#6166BC #BC6193 #BCB761 #61BC89
square
#6166BC #BC6193 #BCB761 #61BC89
split-complementary
#6166BC #BC8961 #93BC61
monochromatic
#303472 #43489D #6166BC #8C90CE #B7B9E0

Accessibility & contrast

On white

5.08
#6166BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6166BC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166BC#FFFFFF#000000##FFFFFF
##6166BC1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4272BF
Deuteranopia (green-blind)
#3B6BBA
Tritanopia (blue-blind)
#3F7888
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6166bc;
/* rgb */ color: rgb(97, 102, 188);
/* oklch */ color: oklch(54.7% 0.132 278.6);
Tailwind
colors: {
  custom: {
    50: '#9391d1',
    500: '#6166bc',
    950: '#000000',
  },
}
SCSS
$custom: #6166bc;
$custom-light: #9391d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6166bc",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 236.703,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.13219,
    "h": 278.6
  },
  "luminance": 0.15675
}

Semantic roles & 50–950 ramp

primary
#6166BC
secondary
#CFCDAA
accent
#CA57D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C14
muted
#7E7D82

Preview Lab

Preview with #6166BC

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

Preview Lab → · Contrast checker → · Palette generator →

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