#6166BF#6166BF

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

Color values

HEX#6166BF
RGBrgb(97, 102, 191)
HSLhsl(237, 42%, 56%)
HSVhsv(237, 49%, 75%)
CMYKcmyk(49.2%, 46.6%, 0%, 25.1%)
CIE-LABlab(46.72, 22.44, -47.52)
CIE-LCHlch(46.72, 52.55, 295.28°)
OKLaboklab(54.93% 0.0201 -0.135)
OKLCHoklch(54.93% 0.136 278.5)
XYZxyz(19.0822, 15.8047, 51.3252)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166BF #BFBA61
analogous
#6195BF #6166BF #8B61BF
triadic
#6166BF #BF6166 #66BF61
tetradic
#6166BF #BF6195 #BFBA61 #61BF8B
square
#6166BF #BF6195 #BFBA61 #61BF8B
split-complementary
#6166BF #BF8B61 #95BF61
monochromatic
#303376 #4146A1 #6166BF #8D90D1 #B8BAE2

Accessibility & contrast

On white

5.05
#6166BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6166BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166BF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166BF#FFFFFF#000000##FFFFFF
##6166BF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4072C2
Deuteranopia (green-blind)
#386BBD
Tritanopia (blue-blind)
#3D7989
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6166bf;
/* rgb */ color: rgb(97, 102, 191);
/* oklch */ color: oklch(54.9% 0.136 278.5);
Tailwind
colors: {
  custom: {
    50: '#9491d3',
    500: '#6166bf',
    950: '#000000',
  },
}
SCSS
$custom: #6166bf;
$custom-light: #9491d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6166bf",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 236.809,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.13649,
    "h": 278.5
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#6166BF
secondary
#D1CFAB
accent
#CC56D2
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #6166BF

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

Preview Lab → · Contrast checker → · Palette generator →

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