#6166B8#6166B8

#6166B8 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.5% C 0.126 H 278.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6166B8
RGBrgb(97, 102, 184)
HSLhsl(237, 38%, 55%)
HSVhsv(237, 47%, 72%)
CMYKcmyk(47.3%, 44.6%, 0%, 27.8%)
CIE-LABlab(46.32, 20.27, -44.10)
CIE-LCHlch(46.32, 48.53, 294.69°)
OKLaboklab(54.5% 0.0191 -0.125)
OKLCHoklch(54.5% 0.126 278.7)
XYZxyz(18.3302, 15.5039, 47.3648)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166B8 #B8B361
analogous
#6191B8 #6166B8 #8861B8
triadic
#6166B8 #B86166 #66B861
tetradic
#6166B8 #B86191 #B8B361 #61B888
square
#6166B8 #B86191 #B8B361 #61B888
split-complementary
#6166B8 #B88861 #91B861
monochromatic
#31356D #444998 #6166B8 #8B8FCB #B5B8DE

Accessibility & contrast

On white

5.12
#6166B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6166B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166B8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166B8#FFFFFF#000000##FFFFFF
##6166B81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#3F6AB6
Tritanopia (blue-blind)
#427786
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6166b8;
/* rgb */ color: rgb(97, 102, 184);
/* oklch */ color: oklch(54.5% 0.126 278.7);
Tailwind
colors: {
  custom: {
    50: '#9391ce',
    500: '#6166b8',
    950: '#000000',
  },
}
SCSS
$custom: #6166b8;
$custom-light: #9391ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6166b8",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 236.552,
    "s": 37.991,
    "l": 55.098
  },
  "oklch": {
    "l": 0.545,
    "c": 0.12643,
    "h": 278.7
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#6166B8
secondary
#CDCBA8
accent
#C75ACE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #6166B8

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

Preview Lab → · Contrast checker → · Palette generator →

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