#6166C9#6166C9

#6166C9 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.6% C 0.151 H 278.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6166C9
RGBrgb(97, 102, 201)
HSLhsl(237, 49%, 58%)
HSVhsv(237, 52%, 79%)
CMYKcmyk(51.7%, 49.3%, 0%, 21.2%)
CIE-LABlab(47.31, 25.58, -52.33)
CIE-LCHlch(47.31, 58.25, 296.05°)
OKLaboklab(55.58% 0.0213 -0.1491)
OKLCHoklch(55.58% 0.151 278.1)
XYZxyz(20.2205, 16.2600, 57.3200)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166C9 #C9C461
analogous
#619AC9 #6166C9 #9061C9
triadic
#6166C9 #C96166 #66C961
tetradic
#6166C9 #C9619A #C9C461 #61C990
square
#6166C9 #C9619A #C9C461 #61C990
split-complementary
#6166C9 #C99061 #9AC961
monochromatic
#2D3183 #3C42B0 #6166C9 #8F92D9 #BCBEE8

Accessibility & contrast

On white

4.94
#6166C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#6166C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166C9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166C9#FFFFFF#000000##FFFFFF
##6166C91.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3774CD
Deuteranopia (green-blind)
#2C6CC7
Tritanopia (blue-blind)
#357C8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6166c9;
/* rgb */ color: rgb(97, 102, 201);
/* oklch */ color: oklch(55.6% 0.151 278.1);
Tailwind
colors: {
  custom: {
    50: '#9591da',
    500: '#6166c9',
    950: '#000000',
  },
}
SCSS
$custom: #6166c9;
$custom-light: #9591da;
$custom-dark: #000000;
JSON
{
  "hex": "#6166c9",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 201
  },
  "hsl": {
    "h": 237.115,
    "s": 49.057,
    "l": 58.431
  },
  "oklch": {
    "l": 0.55577,
    "c": 0.15064,
    "h": 278.1
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#6166C9
secondary
#D8D6AE
accent
#D24FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6166C9

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

Preview Lab → · Contrast checker → · Palette generator →

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