#6166CF#6166CF

#6166CF is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.0% C 0.159 H 277.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6166CF
RGBrgb(97, 102, 207)
HSLhsl(237, 53%, 60%)
HSVhsv(237, 53%, 81%)
CMYKcmyk(53.1%, 50.7%, 0%, 18.8%)
CIE-LABlab(47.69, 27.48, -55.17)
CIE-LCHlch(47.69, 61.64, 296.48°)
OKLaboklab(55.98% 0.0218 -0.1575)
OKLCHoklch(55.98% 0.159 277.9)
XYZxyz(20.9401, 16.5478, 61.1100)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166CF #CFCA61
analogous
#619DCF #6166CF #9361CF
triadic
#6166CF #CF6166 #66CF61
tetradic
#6166CF #CF619D #CFCA61 #61CF93
square
#6166CF #CF619D #CFCA61 #61CF93
split-complementary
#6166CF #CF9361 #9DCF61
monochromatic
#2A2F8B #393EBA #6166CF #9093DD #BFC1EC

Accessibility & contrast

On white

4.87
#6166CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6166CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166CF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166CF#FFFFFF#000000##FFFFFF
##6166CF1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3176D3
Deuteranopia (green-blind)
#226DCD
Tritanopia (blue-blind)
#2F7D91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6166cf;
/* rgb */ color: rgb(97, 102, 207);
/* oklch */ color: oklch(56.0% 0.159 277.9);
Tailwind
colors: {
  custom: {
    50: '#9691de',
    500: '#6166cf',
    950: '#000000',
  },
}
SCSS
$custom: #6166cf;
$custom-light: #9691de;
$custom-dark: #000000;
JSON
{
  "hex": "#6166cf",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 237.273,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55977,
    "c": 0.15899,
    "h": 277.9
  },
  "luminance": 0.16549
}

Semantic roles & 50–950 ramp

primary
#6166CF
secondary
#DBD9B1
accent
#D64BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6166CF

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

Preview Lab → · Contrast checker → · Palette generator →

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