#6166D7#6166D7

#6166D7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.5% C 0.170 H 277.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6166D7
RGBrgb(97, 102, 215)
HSLhsl(237, 60%, 61%)
HSVhsv(237, 55%, 84%)
CMYKcmyk(54.9%, 52.6%, 0%, 15.7%)
CIE-LABlab(48.20, 30.02, -58.91)
CIE-LCHlch(48.20, 66.12, 297.00°)
OKLaboklab(56.52% 0.0224 -0.1685)
OKLCHoklch(56.52% 0.17 277.6)
XYZxyz(21.9430, 16.9490, 66.3920)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166D7 #D7D261
analogous
#61A1D7 #6166D7 #9761D7
triadic
#6166D7 #D76166 #66D761
tetradic
#6166D7 #D761A1 #D7D261 #61D797
square
#6166D7 #D761A1 #D7D261 #61D797
split-complementary
#6166D7 #D79761 #A1D761
monochromatic
#262B97 #3339C8 #6166D7 #9295E3 #C3C5F0

Accessibility & contrast

On white

4.78
#6166D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#6166D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166D7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166D7#FFFFFF#000000##FFFFFF
##6166D71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2577DB
Deuteranopia (green-blind)
#0B6ED5
Tritanopia (blue-blind)
#258095
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6166d7;
/* rgb */ color: rgb(97, 102, 215);
/* oklch */ color: oklch(56.5% 0.170 277.6);
Tailwind
colors: {
  custom: {
    50: '#9791e4',
    500: '#6166d7',
    950: '#000000',
  },
}
SCSS
$custom: #6166d7;
$custom-light: #9791e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6166d7",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 237.458,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56523,
    "c": 0.16997,
    "h": 277.6
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#6166D7
secondary
#E0DEB4
accent
#C01EC7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #6166D7

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

Preview Lab → · Contrast checker → · Palette generator →

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