#6166B5#6166B5

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

Color values

HEX#6166B5
RGBrgb(97, 102, 181)
HSLhsl(236, 36%, 55%)
HSVhsv(236, 46%, 71%)
CMYKcmyk(46.4%, 43.6%, 0%, 29%)
CIE-LABlab(46.15, 19.35, -42.62)
CIE-LCHlch(46.15, 46.80, 294.42°)
OKLaboklab(54.32% 0.0186 -0.1206)
OKLCHoklch(54.32% 0.122 278.8)
XYZxyz(18.0191, 15.3794, 45.7262)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166B5 #B5B061
analogous
#6190B5 #6166B5 #8661B5
triadic
#6166B5 #B56166 #66B561
tetradic
#6166B5 #B56190 #B5B061 #61B586
square
#6166B5 #B56190 #B5B061 #61B586
split-complementary
#6166B5 #B58661 #90B561
monochromatic
#32356A #454A94 #6166B5 #8B8EC9 #B4B7DC

Accessibility & contrast

On white

5.15
#6166B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6166B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166B5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166B5#FFFFFF#000000##FFFFFF
##6166B51.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771B8
Deuteranopia (green-blind)
#416AB3
Tritanopia (blue-blind)
#447685
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6166b5;
/* rgb */ color: rgb(97, 102, 181);
/* oklch */ color: oklch(54.3% 0.122 278.8);
Tailwind
colors: {
  custom: {
    50: '#9291cb',
    500: '#6166b5',
    950: '#000000',
  },
}
SCSS
$custom: #6166b5;
$custom-light: #9291cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6166b5",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 236.429,
    "s": 36.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.12207,
    "h": 278.8
  },
  "luminance": 0.1538
}

Semantic roles & 50–950 ramp

primary
#6166B5
secondary
#CBC9A7
accent
#C65CCC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #6166B5

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

Preview Lab → · Contrast checker → · Palette generator →

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