#6166B0#6166B0

#6166B0 is a mid, moderate blue. Relative luminance 0.152; OKLCH L 54.0% C 0.115 H 278.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6166B0
RGBrgb(97, 102, 176)
HSLhsl(236, 33%, 54%)
HSVhsv(236, 45%, 69%)
CMYKcmyk(44.9%, 42%, 0%, 31%)
CIE-LABlab(45.88, 17.82, -40.13)
CIE-LCHlch(45.88, 43.91, 293.94°)
OKLaboklab(54.02% 0.0177 -0.1134)
OKLCHoklch(54.02% 0.115 278.9)
XYZxyz(17.5153, 15.1779, 43.0726)
Luminance0.1518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166B0 #B0AB61
analogous
#618DB0 #6166B0 #8361B0
triadic
#6166B0 #B06166 #66B061
tetradic
#6166B0 #B0618D #B0AB61 #61B083
square
#6166B0 #B0618D #B0AB61 #61B083
split-complementary
#6166B0 #B08361 #8DB061
monochromatic
#323564 #474B8D #6166B0 #8A8EC4 #B3B5D9

Accessibility & contrast

On white

5.20
#6166B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#6166B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166B0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166B0#FFFFFF#000000##FFFFFF
##6166B01.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B3
Deuteranopia (green-blind)
#456AAE
Tritanopia (blue-blind)
#477582
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6166b0;
/* rgb */ color: rgb(97, 102, 176);
/* oklch */ color: oklch(54.0% 0.115 278.9);
Tailwind
colors: {
  custom: {
    50: '#9291c8',
    500: '#6166b0',
    950: '#000000',
  },
}
SCSS
$custom: #6166b0;
$custom-light: #9291c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6166b0",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 176
  },
  "hsl": {
    "h": 236.203,
    "s": 33.333,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54022,
    "c": 0.11476,
    "h": 278.9
  },
  "luminance": 0.15179
}

Semantic roles & 50–950 ramp

primary
#6166B0
secondary
#C7C5A5
accent
#C35EC9
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #6166B0

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

Preview Lab → · Contrast checker → · Palette generator →

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