#6166AF#6166AF

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

Color values

HEX#6166AF
RGBrgb(97, 102, 175)
HSLhsl(236, 33%, 53%)
HSVhsv(236, 45%, 69%)
CMYKcmyk(44.6%, 41.7%, 0%, 31.4%)
CIE-LABlab(45.82, 17.52, -39.63)
CIE-LCHlch(45.82, 43.33, 293.84°)
OKLaboklab(53.96% 0.0175 -0.1119)
OKLCHoklch(53.96% 0.113 278.9)
XYZxyz(17.4167, 15.1384, 42.5534)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166AF #AFAA61
analogous
#618DAF #6166AF #8361AF
triadic
#6166AF #AF6166 #66AF61
tetradic
#6166AF #AF618D #AFAA61 #61AF83
square
#6166AF #AF618D #AFAA61 #61AF83
split-complementary
#6166AF #AF8361 #8DAF61
monochromatic
#323563 #474B8C #6166AF #8A8DC4 #B2B5D8

Accessibility & contrast

On white

5.21
#6166AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6166AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166AF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166AF#FFFFFF#000000##FFFFFF
##6166AF1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#477582
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6166af;
/* rgb */ color: rgb(97, 102, 175);
/* oklch */ color: oklch(54.0% 0.113 278.9);
Tailwind
colors: {
  custom: {
    50: '#9291c7',
    500: '#6166af',
    950: '#000000',
  },
}
SCSS
$custom: #6166af;
$custom-light: #9291c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6166af",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 236.154,
    "s": 32.773,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.11329,
    "h": 278.9
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6166AF

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

Preview Lab → · Contrast checker → · Palette generator →

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