#6166D3#6166D3

#6166D3 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.2% C 0.165 H 277.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6166D3
RGBrgb(97, 102, 211)
HSLhsl(237, 56%, 60%)
HSVhsv(237, 54%, 83%)
CMYKcmyk(54%, 51.7%, 0%, 17.3%)
CIE-LABlab(47.94, 28.75, -57.05)
CIE-LCHlch(47.94, 63.88, 296.75°)
OKLaboklab(56.25% 0.0221 -0.163)
OKLCHoklch(56.25% 0.165 277.7)
XYZxyz(21.4353, 16.7459, 63.7181)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166D3 #D3CE61
analogous
#619FD3 #6166D3 #9561D3
triadic
#6166D3 #D36166 #66D361
tetradic
#6166D3 #D3619F #D3CE61 #61D395
square
#6166D3 #D3619F #D3CE61 #61D395
split-complementary
#6166D3 #D39561 #9FD361
monochromatic
#282D91 #363CC1 #6166D3 #9194E0 #C1C3EE

Accessibility & contrast

On white

4.83
#6166D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6166D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166D3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166D3#FFFFFF#000000##FFFFFF
##6166D31.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D7
Deuteranopia (green-blind)
#196DD1
Tritanopia (blue-blind)
#2A7F93
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6166d3;
/* rgb */ color: rgb(97, 102, 211);
/* oklch */ color: oklch(56.2% 0.165 277.7);
Tailwind
colors: {
  custom: {
    50: '#9691e1',
    500: '#6166d3',
    950: '#000000',
  },
}
SCSS
$custom: #6166d3;
$custom-light: #9691e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6166d3",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 211
  },
  "hsl": {
    "h": 237.368,
    "s": 56.436,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56248,
    "c": 0.1645,
    "h": 277.7
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#6166D3
secondary
#DEDCB2
accent
#BD22C4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6166D3

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

Preview Lab → · Contrast checker → · Palette generator →

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