#6166CB#6166CB

#6166CB is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.7% C 0.153 H 278.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6166CB
RGBrgb(97, 102, 203)
HSLhsl(237, 50%, 59%)
HSVhsv(237, 52%, 80%)
CMYKcmyk(52.2%, 49.8%, 0%, 20.4%)
CIE-LABlab(47.44, 26.21, -53.28)
CIE-LCHlch(47.44, 59.38, 296.20°)
OKLaboklab(55.71% 0.0215 -0.1519)
OKLCHoklch(55.71% 0.153 278)
XYZxyz(20.4573, 16.3547, 58.5671)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166CB #CBC661
analogous
#619BCB #6166CB #9161CB
triadic
#6166CB #CB6166 #66CB61
tetradic
#6166CB #CB619B #CBC661 #61CB91
square
#6166CB #CB619B #CBC661 #61CB91
split-complementary
#6166CB #CB9161 #9BCB61
monochromatic
#2C3086 #3B41B4 #6166CB #8F93DA #BDBFE9

Accessibility & contrast

On white

4.92
#6166CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6166CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166CB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166CB#FFFFFF#000000##FFFFFF
##6166CB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#296CC9
Tritanopia (blue-blind)
#337C8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6166cb;
/* rgb */ color: rgb(97, 102, 203);
/* oklch */ color: oklch(55.7% 0.153 278.0);
Tailwind
colors: {
  custom: {
    50: '#9591db',
    500: '#6166cb',
    950: '#000000',
  },
}
SCSS
$custom: #6166cb;
$custom-light: #9591db;
$custom-dark: #000000;
JSON
{
  "hex": "#6166cb",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 237.17,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55709,
    "c": 0.15343,
    "h": 278
  },
  "luminance": 0.16356
}

Semantic roles & 50–950 ramp

primary
#6166CB
secondary
#D9D7AF
accent
#D34EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6166CB

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

Preview Lab → · Contrast checker → · Palette generator →

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