#6166E9#6166E9

#6166E9 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.8% C 0.194 H 276.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6166E9
RGBrgb(97, 102, 233)
HSLhsl(238, 76%, 65%)
HSVhsv(238, 58%, 91%)
CMYKcmyk(58.4%, 56.2%, 0%, 8.6%)
CIE-LABlab(49.41, 35.79, -67.14)
CIE-LCHlch(49.41, 76.08, 298.06°)
OKLaboklab(57.81% 0.023 -0.1927)
OKLCHoklch(57.81% 0.194 276.8)
XYZxyz(24.3844, 17.9255, 79.2500)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166E9 #E9E461
analogous
#61AAE9 #6166E9 #A061E9
triadic
#6166E9 #E96166 #66E961
tetradic
#6166E9 #E961AA #E9E461 #61E9A0
square
#6166E9 #E961AA #E9E461 #61E9A0
split-complementary
#6166E9 #E9A061 #AAE961
monochromatic
#191FB6 #2B32E2 #6166E9 #979AF0 #CCCEF8

Accessibility & contrast

On white

4.58
#6166E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6166E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6166E9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166E9#FFFFFF#000000##000000
##6166E91.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#0070E6
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6166e9;
/* rgb */ color: rgb(97, 102, 233);
/* oklch */ color: oklch(57.8% 0.194 276.8);
Tailwind
colors: {
  custom: {
    50: '#9a91f1',
    500: '#6166e9',
    950: '#000000',
  },
}
SCSS
$custom: #6166e9;
$custom-light: #9a91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6166e9",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 237.794,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.19406,
    "h": 276.8
  },
  "luminance": 0.17927
}

Semantic roles & 50–950 ramp

primary
#6166E9
secondary
#EAE9BC
accent
#D00ED8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6166E9

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

Preview Lab → · Contrast checker → · Palette generator →

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