#6166E6#6166E6

#6166E6 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.6% C 0.190 H 276.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6166E6
RGBrgb(97, 102, 230)
HSLhsl(238, 73%, 64%)
HSVhsv(238, 58%, 90%)
CMYKcmyk(57.8%, 55.7%, 0%, 9.8%)
CIE-LABlab(49.20, 34.82, -65.78)
CIE-LCHlch(49.20, 74.43, 297.90°)
OKLaboklab(57.59% 0.023 -0.1887)
OKLCHoklch(57.59% 0.19 276.9)
XYZxyz(23.9595, 17.7556, 77.0122)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166E6 #E6E161
analogous
#61A9E6 #6166E6 #9F61E6
triadic
#6166E6 #E66166 #66E661
tetradic
#6166E6 #E661A9 #E6E161 #61E69F
square
#6166E6 #E661A9 #E6E161 #61E69F
split-complementary
#6166E6 #E69F61 #A9E661
monochromatic
#1C22B1 #2C33DE #6166E6 #9699EE #CBCCF7

Accessibility & contrast

On white

4.61
#6166E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#6166E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6166E6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166E6#FFFFFF#000000##FFFFFF
##6166E61.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEA
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6166e6;
/* rgb */ color: rgb(97, 102, 230);
/* oklch */ color: oklch(57.6% 0.190 276.9);
Tailwind
colors: {
  custom: {
    50: '#9991ef',
    500: '#6166e6',
    950: '#000000',
  },
}
SCSS
$custom: #6166e6;
$custom-light: #9991ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6166e6",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 237.744,
    "s": 72.678,
    "l": 64.118
  },
  "oklch": {
    "l": 0.57591,
    "c": 0.1901,
    "h": 276.9
  },
  "luminance": 0.17757
}

Semantic roles & 50–950 ramp

primary
#6166E6
secondary
#E9E7BA
accent
#CD11D5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D16
muted
#7F7D84

Preview Lab

Preview with #6166E6

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

Preview Lab → · Contrast checker → · Palette generator →

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