#6166FF#6166FF

#6166FF is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.5% C 0.222 H 275.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#6166FF
RGBrgb(97, 102, 255)
HSLhsl(238, 100%, 69%)
HSVhsv(238, 62%, 100%)
CMYKcmyk(62%, 60%, 0%, 0%)
CIE-LABlab(50.99, 42.84, -76.84)
CIE-LCHlch(50.99, 87.97, 299.14°)
OKLaboklab(59.48% 0.0227 -0.2212)
OKLCHoklch(59.48% 0.222 275.9)
XYZxyz(27.7252, 19.2619, 96.8452)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166FF #FFFA61
analogous
#61B5FF #6166FF #AB61FF
triadic
#6166FF #FF6166 #66FF61
tetradic
#6166FF #FF61B5 #FFFA61 #61FFAB
square
#6166FF #FF61B5 #FFFA61 #61FFAB
split-complementary
#6166FF #FFAB61 #B5FF61
monochromatic
#0007E6 #242BFF #6166FF #9EA1FF #DBDDFF

Accessibility & contrast

On white

4.33
#6166FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#6166FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6166FF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166FF#FFFFFF#000000##000000
##6166FF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0073FC
Tritanopia (blue-blind)
#008CA9
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #6166ff;
/* rgb */ color: rgb(97, 102, 255);
/* oklch */ color: oklch(59.5% 0.222 275.9);
Tailwind
colors: {
  custom: {
    50: '#9d92ff',
    500: '#6166ff',
    950: '#000000',
  },
}
SCSS
$custom: #6166ff;
$custom-light: #9d92ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6166ff",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 238.101,
    "s": 100,
    "l": 69.02
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.22236,
    "h": 275.9
  },
  "luminance": 0.19264
}

Semantic roles & 50–950 ramp

primary
#6166FF
secondary
#F5F4C7
accent
#DE00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86

Preview Lab

Preview with #6166FF

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

Preview Lab → · Contrast checker → · Palette generator →

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