#6166DE#6166DE

#6166DE is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.179 H 277.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6166DE
RGBrgb(97, 102, 222)
HSLhsl(238, 65%, 63%)
HSVhsv(238, 56%, 87%)
CMYKcmyk(56.3%, 54.1%, 0%, 12.9%)
CIE-LABlab(48.66, 32.26, -62.14)
CIE-LCHlch(48.66, 70.02, 297.44°)
OKLaboklab(57.02% 0.0227 -0.178)
OKLCHoklch(57.02% 0.179 277.3)
XYZxyz(22.8617, 17.3165, 71.2308)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166DE #DED961
analogous
#61A4DE #6166DE #9A61DE
triadic
#6166DE #DE6166 #66DE61
tetradic
#6166DE #DE61A4 #DED961 #61DE9A
square
#6166DE #DE61A4 #DED961 #61DE9A
split-complementary
#6166DE #DE9A61 #A4DE61
monochromatic
#2227A3 #2E35D3 #6166DE #9497E9 #C6C8F3

Accessibility & contrast

On white

4.70
#6166DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6166DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166DE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166DE#FFFFFF#000000##FFFFFF
##6166DE1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1779E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#188298
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6166de;
/* rgb */ color: rgb(97, 102, 222);
/* oklch */ color: oklch(57.0% 0.179 277.3);
Tailwind
colors: {
  custom: {
    50: '#9891e9',
    500: '#6166de',
    950: '#000000',
  },
}
SCSS
$custom: #6166de;
$custom-light: #9891e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6166de",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 222
  },
  "hsl": {
    "h": 237.6,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57015,
    "c": 0.17944,
    "h": 277.3
  },
  "luminance": 0.17318
}

Semantic roles & 50–950 ramp

primary
#6166DE
secondary
#E4E2B7
accent
#C618CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6166DE

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

Preview Lab → · Contrast checker → · Palette generator →

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