#6166EA#6166EA

#6166EA is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.9% C 0.195 H 276.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6166EA
RGBrgb(97, 102, 234)
HSLhsl(238, 77%, 65%)
HSVhsv(238, 59%, 92%)
CMYKcmyk(58.5%, 56.4%, 0%, 8.2%)
CIE-LABlab(49.48, 36.11, -67.59)
CIE-LCHlch(49.48, 76.63, 298.11°)
OKLaboklab(57.89% 0.023 -0.194)
OKLCHoklch(57.89% 0.195 276.8)
XYZxyz(24.5276, 17.9828, 80.0045)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166EA #EAE561
analogous
#61ABEA #6166EA #A061EA
triadic
#6166EA #EA6166 #66EA61
tetradic
#6166EA #EA61AB #EAE561 #61EAA0
square
#6166EA #EA61AB #EAE561 #61EAA0
split-complementary
#6166EA #EAA061 #ABEA61
monochromatic
#181EB8 #2B32E3 #6166EA #979AF1 #CDCFF8

Accessibility & contrast

On white

4.57
#6166EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#6166EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6166EA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166EA#FFFFFF#000000##000000
##6166EA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6166ea;
/* rgb */ color: rgb(97, 102, 234);
/* oklch */ color: oklch(57.9% 0.195 276.8);
Tailwind
colors: {
  custom: {
    50: '#9a91f2',
    500: '#6166ea',
    950: '#000000',
  },
}
SCSS
$custom: #6166ea;
$custom-light: #9a91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6166ea",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 237.81,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57885,
    "c": 0.19537,
    "h": 276.8
  },
  "luminance": 0.17985
}

Semantic roles & 50–950 ramp

primary
#6166EA
secondary
#EBE9BC
accent
#D10DD9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6166EA

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

Preview Lab → · Contrast checker → · Palette generator →

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