#6166C0#6166C0

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

Color values

HEX#6166C0
RGBrgb(97, 102, 192)
HSLhsl(237, 43%, 57%)
HSVhsv(237, 49%, 75%)
CMYKcmyk(49.5%, 46.9%, 0%, 24.7%)
CIE-LABlab(46.78, 22.75, -48.00)
CIE-LCHlch(46.78, 53.12, 295.36°)
OKLaboklab(55% 0.0202 -0.1364)
OKLCHoklch(55% 0.138 278.4)
XYZxyz(19.1926, 15.8488, 51.9068)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166C0 #C0BB61
analogous
#6196C0 #6166C0 #8C61C0
triadic
#6166C0 #C06166 #66C061
tetradic
#6166C0 #C06196 #C0BB61 #61C08C
square
#6166C0 #C06196 #C0BB61 #61C08C
split-complementary
#6166C0 #C08C61 #96C061
monochromatic
#2F3377 #4146A3 #6166C0 #8D90D1 #B9BBE3

Accessibility & contrast

On white

5.04
#6166C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6166C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166C0
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166C0#FFFFFF#000000##FFFFFF
##6166C01.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C3
Deuteranopia (green-blind)
#376BBE
Tritanopia (blue-blind)
#3C798A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6166c0;
/* rgb */ color: rgb(97, 102, 192);
/* oklch */ color: oklch(55.0% 0.138 278.4);
Tailwind
colors: {
  custom: {
    50: '#9491d3',
    500: '#6166c0',
    950: '#000000',
  },
}
SCSS
$custom: #6166c0;
$custom-light: #9491d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6166c0",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 192
  },
  "hsl": {
    "h": 236.842,
    "s": 42.986,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54997,
    "c": 0.13792,
    "h": 278.4
  },
  "luminance": 0.1585
}

Semantic roles & 50–950 ramp

primary
#6166C0
secondary
#D2D0AB
accent
#CC55D3
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #6166C0

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

Preview Lab → · Contrast checker → · Palette generator →

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