#6166DD#6166DD

#6166DD is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.9% C 0.178 H 277.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#6166DD
RGBrgb(97, 102, 221)
HSLhsl(238, 65%, 62%)
HSVhsv(238, 56%, 87%)
CMYKcmyk(56.1%, 53.8%, 0%, 13.3%)
CIE-LABlab(48.59, 31.94, -61.68)
CIE-LCHlch(48.59, 69.46, 297.38°)
OKLaboklab(56.94% 0.0227 -0.1766)
OKLCHoklch(56.94% 0.178 277.3)
XYZxyz(22.7281, 17.2630, 70.5270)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166DD #DDD861
analogous
#61A4DD #6166DD #9A61DD
triadic
#6166DD #DD6166 #66DD61
tetradic
#6166DD #DD61A4 #DDD861 #61DD9A
square
#6166DD #DD61A4 #DDD861 #61DD9A
split-complementary
#6166DD #DD9A61 #A4DD61
monochromatic
#2328A1 #2F35D2 #6166DD #9397E8 #C6C8F3

Accessibility & contrast

On white

4.72
#6166DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#6166DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166DD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166DD#FFFFFF#000000##FFFFFF
##6166DD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1979E1
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#1A8198
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6166dd;
/* rgb */ color: rgb(97, 102, 221);
/* oklch */ color: oklch(56.9% 0.178 277.3);
Tailwind
colors: {
  custom: {
    50: '#9891e8',
    500: '#6166dd',
    950: '#000000',
  },
}
SCSS
$custom: #6166dd;
$custom-light: #9891e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6166dd",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 237.581,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56944,
    "c": 0.1781,
    "h": 277.3
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#6166DD
secondary
#E4E2B6
accent
#C519CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6166DD

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

Preview Lab → · Contrast checker → · Palette generator →

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