#6166CA#6166CA

#6166CA is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.6% C 0.152 H 278.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6166CA
RGBrgb(97, 102, 202)
HSLhsl(237, 50%, 59%)
HSVhsv(237, 52%, 79%)
CMYKcmyk(52%, 49.5%, 0%, 20.8%)
CIE-LABlab(47.38, 25.90, -52.80)
CIE-LCHlch(47.38, 58.81, 296.12°)
OKLaboklab(55.64% 0.0214 -0.1505)
OKLCHoklch(55.64% 0.152 278.1)
XYZxyz(20.3385, 16.3072, 57.9415)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166CA #CAC561
analogous
#619ACA #6166CA #9061CA
triadic
#6166CA #CA6166 #66CA61
tetradic
#6166CA #CA619A #CAC561 #61CA90
square
#6166CA #CA619A #CAC561 #61CA90
split-complementary
#6166CA #CA9061 #9ACA61
monochromatic
#2C3184 #3C41B2 #6166CA #8F92D9 #BDBFE9

Accessibility & contrast

On white

4.93
#6166CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6166CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166CA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166CA#FFFFFF#000000##FFFFFF
##6166CA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#347C8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6166ca;
/* rgb */ color: rgb(97, 102, 202);
/* oklch */ color: oklch(55.6% 0.152 278.1);
Tailwind
colors: {
  custom: {
    50: '#9591db',
    500: '#6166ca',
    950: '#000000',
  },
}
SCSS
$custom: #6166ca;
$custom-light: #9591db;
$custom-dark: #000000;
JSON
{
  "hex": "#6166ca",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 237.143,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.15204,
    "h": 278.1
  },
  "luminance": 0.16308
}

Semantic roles & 50–950 ramp

primary
#6166CA
secondary
#D8D6AF
accent
#D34FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6166CA

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

Preview Lab → · Contrast checker → · Palette generator →

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