#6166DF#6166DF

#6166DF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.1% C 0.181 H 277.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6166DF
RGBrgb(97, 102, 223)
HSLhsl(238, 66%, 63%)
HSVhsv(238, 57%, 87%)
CMYKcmyk(56.5%, 54.3%, 0%, 12.5%)
CIE-LABlab(48.72, 32.58, -62.60)
CIE-LCHlch(48.72, 70.57, 297.50°)
OKLaboklab(57.09% 0.0228 -0.1793)
OKLCHoklch(57.09% 0.181 277.2)
XYZxyz(22.9962, 17.3702, 71.9387)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166DF #DFDA61
analogous
#61A5DF #6166DF #9B61DF
triadic
#6166DF #DF6166 #66DF61
tetradic
#6166DF #DF61A5 #DFDA61 #61DF9B
square
#6166DF #DF61A5 #DFDA61 #61DF9B
split-complementary
#6166DF #DF9B61 #A5DF61
monochromatic
#2126A4 #2E35D5 #6166DF #9497E9 #C7C9F4

Accessibility & contrast

On white

4.69
#6166DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6166DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6166DF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166DF#FFFFFF#000000##FFFFFF
##6166DF1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1479E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#168299
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6166df;
/* rgb */ color: rgb(97, 102, 223);
/* oklch */ color: oklch(57.1% 0.181 277.2);
Tailwind
colors: {
  custom: {
    50: '#9891ea',
    500: '#6166df',
    950: '#000000',
  },
}
SCSS
$custom: #6166df;
$custom-light: #9891ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6166df",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 237.619,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57086,
    "c": 0.18078,
    "h": 277.2
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#6166DF
secondary
#E5E3B7
accent
#C717CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6166DF

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

Preview Lab → · Contrast checker → · Palette generator →

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