#6166C8#6166C8

#6166C8 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.5% C 0.149 H 278.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6166C8
RGBrgb(97, 102, 200)
HSLhsl(237, 48%, 58%)
HSVhsv(237, 52%, 78%)
CMYKcmyk(51.5%, 49%, 0%, 21.6%)
CIE-LABlab(47.25, 25.26, -51.85)
CIE-LCHlch(47.25, 57.68, 295.98°)
OKLaboklab(55.51% 0.0212 -0.1477)
OKLCHoklch(55.51% 0.149 278.2)
XYZxyz(20.1032, 16.2131, 56.7025)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166C8 #C8C361
analogous
#6199C8 #6166C8 #8F61C8
triadic
#6166C8 #C86166 #66C861
tetradic
#6166C8 #C86199 #C8C361 #61C88F
square
#6166C8 #C86199 #C8C361 #61C88F
split-complementary
#6166C8 #C88F61 #99C861
monochromatic
#2D3182 #3D42AF #6166C8 #8E92D8 #BCBEE8

Accessibility & contrast

On white

4.95
#6166C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6166C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166C8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166C8#FFFFFF#000000##FFFFFF
##6166C81.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3874CC
Deuteranopia (green-blind)
#2D6CC6
Tritanopia (blue-blind)
#367B8D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6166c8;
/* rgb */ color: rgb(97, 102, 200);
/* oklch */ color: oklch(55.5% 0.149 278.2);
Tailwind
colors: {
  custom: {
    50: '#9591d9',
    500: '#6166c8',
    950: '#000000',
  },
}
SCSS
$custom: #6166c8;
$custom-light: #9591d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6166c8",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 237.087,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.14924,
    "h": 278.2
  },
  "luminance": 0.16214
}

Semantic roles & 50–950 ramp

primary
#6166C8
secondary
#D7D5AE
accent
#D150D8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6166C8

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

Preview Lab → · Contrast checker → · Palette generator →

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