#6166C2#6166C2

#6166C2 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.1% C 0.141 H 278.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#6166C2
RGBrgb(97, 102, 194)
HSLhsl(237, 44%, 57%)
HSVhsv(237, 50%, 76%)
CMYKcmyk(50%, 47.4%, 0%, 23.9%)
CIE-LABlab(46.89, 23.38, -48.97)
CIE-LCHlch(46.89, 54.27, 295.52°)
OKLaboklab(55.12% 0.0205 -0.1393)
OKLCHoklch(55.12% 0.141 278.4)
XYZxyz(19.4157, 15.9381, 53.0818)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166C2 #C2BD61
analogous
#6197C2 #6166C2 #8D61C2
triadic
#6166C2 #C26166 #66C261
tetradic
#6166C2 #C26197 #C2BD61 #61C28D
square
#6166C2 #C26197 #C2BD61 #61C28D
split-complementary
#6166C2 #C28D61 #97C261
monochromatic
#2F337A #4045A6 #6166C2 #8D91D3 #B9BCE4

Accessibility & contrast

On white

5.01
#6166C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#6166C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166C2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166C2#FFFFFF#000000##FFFFFF
##6166C21.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#356BC0
Tritanopia (blue-blind)
#3B7A8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6166c2;
/* rgb */ color: rgb(97, 102, 194);
/* oklch */ color: oklch(55.1% 0.141 278.4);
Tailwind
colors: {
  custom: {
    50: '#9491d5',
    500: '#6166c2',
    950: '#000000',
  },
}
SCSS
$custom: #6166c2;
$custom-light: #9491d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6166c2",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 236.907,
    "s": 44.292,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55124,
    "c": 0.14077,
    "h": 278.4
  },
  "luminance": 0.15939
}

Semantic roles & 50–950 ramp

primary
#6166C2
secondary
#D3D1AC
accent
#CD54D4
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #6166C2

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

Preview Lab → · Contrast checker → · Palette generator →

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