#6166B2#6166B2

#6166B2 is a mid, moderate blue. Relative luminance 0.153; OKLCH L 54.1% C 0.118 H 278.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6166B2
RGBrgb(97, 102, 178)
HSLhsl(236, 34%, 54%)
HSVhsv(236, 46%, 70%)
CMYKcmyk(45.5%, 42.7%, 0%, 30.2%)
CIE-LABlab(45.98, 18.43, -41.13)
CIE-LCHlch(45.98, 45.07, 294.14°)
OKLaboklab(54.14% 0.0181 -0.1163)
OKLCHoklch(54.14% 0.118 278.8)
XYZxyz(17.7146, 15.2576, 44.1225)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166B2 #B2AD61
analogous
#618FB2 #6166B2 #8561B2
triadic
#6166B2 #B26166 #66B261
tetradic
#6166B2 #B2618F #B2AD61 #61B285
square
#6166B2 #B2618F #B2AD61 #61B285
split-complementary
#6166B2 #B28561 #8FB261
monochromatic
#323567 #464B90 #6166B2 #8A8EC6 #B3B6DA

Accessibility & contrast

On white

5.18
#6166B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6166B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166B2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166B2#FFFFFF#000000##FFFFFF
##6166B21.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#436AB0
Tritanopia (blue-blind)
#457683
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6166b2;
/* rgb */ color: rgb(97, 102, 178);
/* oklch */ color: oklch(54.1% 0.118 278.8);
Tailwind
colors: {
  custom: {
    50: '#9291c9',
    500: '#6166b2',
    950: '#000000',
  },
}
SCSS
$custom: #6166b2;
$custom-light: #9291c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6166b2",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 236.296,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5414,
    "c": 0.11769,
    "h": 278.8
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#6166B2
secondary
#C9C7A6
accent
#C45DCB
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #6166B2

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

Preview Lab → · Contrast checker → · Palette generator →

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