#6166ED#6166ED

#6166ED is a mid, vivid blue. Relative luminance 0.182; OKLCH L 58.1% C 0.199 H 276.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6166ED
RGBrgb(97, 102, 237)
HSLhsl(238, 80%, 65%)
HSVhsv(238, 59%, 93%)
CMYKcmyk(59.1%, 57%, 0%, 7.1%)
CIE-LABlab(49.69, 37.07, -68.93)
CIE-LCHlch(49.69, 78.26, 298.27°)
OKLaboklab(58.11% 0.023 -0.198)
OKLCHoklch(58.11% 0.199 276.6)
XYZxyz(24.9623, 18.1567, 82.2935)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166ED #EDE861
analogous
#61ACED #6166ED #A261ED
triadic
#6166ED #ED6166 #66ED61
tetradic
#6166ED #ED61AC #EDE861 #61EDA2
square
#6166ED #ED61AC #EDE861 #61EDA2
split-complementary
#6166ED #EDA261 #ACED61
monochromatic
#161CBE #2A31E7 #6166ED #989BF3 #CFD0FA

Accessibility & contrast

On white

4.53
#6166ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#6166ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6166ED
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166ED#FFFFFF#000000##000000
##6166ED1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF2
Deuteranopia (green-blind)
#0070EA
Tritanopia (blue-blind)
#0086A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6166ed;
/* rgb */ color: rgb(97, 102, 237);
/* oklch */ color: oklch(58.1% 0.199 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a91f4',
    500: '#6166ed',
    950: '#000000',
  },
}
SCSS
$custom: #6166ed;
$custom-light: #9a91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6166ed",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 237.857,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58108,
    "c": 0.1993,
    "h": 276.6
  },
  "luminance": 0.18159
}

Semantic roles & 50–950 ramp

primary
#6166ED
secondary
#ECEBBD
accent
#D40ADC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6166ED

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

Preview Lab → · Contrast checker → · Palette generator →

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