#6166EE#6166EE

#6166EE is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.2% C 0.201 H 276.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6166EE
RGBrgb(97, 102, 238)
HSLhsl(238, 81%, 66%)
HSVhsv(238, 59%, 93%)
CMYKcmyk(59.2%, 57.1%, 0%, 6.7%)
CIE-LABlab(49.76, 37.39, -69.37)
CIE-LCHlch(49.76, 78.81, 298.32°)
OKLaboklab(58.18% 0.023 -0.1993)
OKLCHoklch(58.18% 0.201 276.6)
XYZxyz(25.1088, 18.2153, 83.0651)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166EE #EEE961
analogous
#61ADEE #6166EE #A261EE
triadic
#6166EE #EE6166 #66EE61
tetradic
#6166EE #EE61AD #EEE961 #61EEA2
square
#6166EE #EE61AD #EEE961 #61EEA2
split-complementary
#6166EE #EEA261 #ADEE61
monochromatic
#151BC0 #2A30E8 #6166EE #989CF4 #D0D1FA

Accessibility & contrast

On white

4.52
#6166EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#6166EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6166EE
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166EE#FFFFFF#000000##000000
##6166EE1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#0070EB
Tritanopia (blue-blind)
#0087A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6166ee;
/* rgb */ color: rgb(97, 102, 238);
/* oklch */ color: oklch(58.2% 0.201 276.6);
Tailwind
colors: {
  custom: {
    50: '#9a91f4',
    500: '#6166ee',
    950: '#000000',
  },
}
SCSS
$custom: #6166ee;
$custom-light: #9a91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6166ee",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 237.872,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58182,
    "c": 0.2006,
    "h": 276.6
  },
  "luminance": 0.18217
}

Semantic roles & 50–950 ramp

primary
#6166EE
secondary
#EDEBBE
accent
#D509DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6166EE

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

Preview Lab → · Contrast checker → · Palette generator →

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