#6166BE#6166BE

#6166BE is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.9% C 0.135 H 278.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6166BE
RGBrgb(97, 102, 190)
HSLhsl(237, 42%, 56%)
HSVhsv(237, 49%, 75%)
CMYKcmyk(48.9%, 46.3%, 0%, 25.5%)
CIE-LABlab(46.66, 22.13, -47.03)
CIE-LCHlch(46.66, 51.98, 295.20°)
OKLaboklab(54.87% 0.02 -0.1336)
OKLCHoklch(54.87% 0.135 278.5)
XYZxyz(18.9725, 15.7608, 50.7476)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166BE #BEB961
analogous
#6195BE #6166BE #8B61BE
triadic
#6166BE #BE6166 #66BE61
tetradic
#6166BE #BE6195 #BEB961 #61BE8B
square
#6166BE #BE6195 #BEB961 #61BE8B
split-complementary
#6166BE #BE8B61 #95BE61
monochromatic
#303475 #4247A0 #6166BE #8C90D0 #B8BAE2

Accessibility & contrast

On white

5.06
#6166BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6166BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166BE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166BE#FFFFFF#000000##FFFFFF
##6166BE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4172C1
Deuteranopia (green-blind)
#396BBC
Tritanopia (blue-blind)
#3E7989
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6166be;
/* rgb */ color: rgb(97, 102, 190);
/* oklch */ color: oklch(54.9% 0.135 278.5);
Tailwind
colors: {
  custom: {
    50: '#9491d2',
    500: '#6166be',
    950: '#000000',
  },
}
SCSS
$custom: #6166be;
$custom-light: #9491d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6166be",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 236.774,
    "s": 41.704,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.13506,
    "h": 278.5
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#6166BE
secondary
#D1CEAA
accent
#CB56D2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6166BE

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

Preview Lab → · Contrast checker → · Palette generator →

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