#6166E8#6166E8

#6166E8 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.7% C 0.193 H 276.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6166E8
RGBrgb(97, 102, 232)
HSLhsl(238, 75%, 65%)
HSVhsv(238, 58%, 91%)
CMYKcmyk(58.2%, 56%, 0%, 9%)
CIE-LABlab(49.34, 35.47, -66.69)
CIE-LCHlch(49.34, 75.53, 298.01°)
OKLaboklab(57.74% 0.023 -0.1914)
OKLCHoklch(57.74% 0.193 276.9)
XYZxyz(24.2419, 17.8685, 78.4998)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166E8 #E8E361
analogous
#61A9E8 #6166E8 #A061E8
triadic
#6166E8 #E86166 #66E861
tetradic
#6166E8 #E861A9 #E8E361 #61E8A0
square
#6166E8 #E861A9 #E8E361 #61E8A0
split-complementary
#6166E8 #E8A061 #A9E861
monochromatic
#1A20B4 #2C32E0 #6166E8 #969AF0 #CCCDF8

Accessibility & contrast

On white

4.59
#6166E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6166E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6166E8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166E8#FFFFFF#000000##FFFFFF
##6166E81.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#0070E5
Tritanopia (blue-blind)
#00859D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6166e8;
/* rgb */ color: rgb(97, 102, 232);
/* oklch */ color: oklch(57.7% 0.193 276.9);
Tailwind
colors: {
  custom: {
    50: '#9991f0',
    500: '#6166e8',
    950: '#000000',
  },
}
SCSS
$custom: #6166e8;
$custom-light: #9991f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6166e8",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 237.778,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.19274,
    "h": 276.9
  },
  "luminance": 0.1787
}

Semantic roles & 50–950 ramp

primary
#6166E8
secondary
#EAE8BB
accent
#CF0FD7
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6166E8

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

Preview Lab → · Contrast checker → · Palette generator →

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