#6166F8#6166F8

#6166F8 is a mid, highly saturated blue. Relative luminance 0.188; OKLCH L 58.9% C 0.213 H 276.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6166F8
RGBrgb(97, 102, 248)
HSLhsl(238, 92%, 68%)
HSVhsv(238, 61%, 97%)
CMYKcmyk(60.9%, 58.9%, 0%, 2.7%)
CIE-LABlab(50.48, 40.60, -73.79)
CIE-LCHlch(50.48, 84.22, 298.82°)
OKLaboklab(58.94% 0.0229 -0.2122)
OKLCHoklch(58.94% 0.213 276.2)
XYZxyz(26.6189, 18.8193, 91.0185)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166F8 #F8F361
analogous
#61B2F8 #6166F8 #A761F8
triadic
#6166F8 #F86166 #66F861
tetradic
#6166F8 #F861B2 #F8F361 #61F8A7
square
#6166F8 #F861B2 #F8F361 #61F8A7
split-complementary
#6166F8 #F8A761 #B2F861
monochromatic
#0910D5 #262DF5 #6166F8 #9C9FFB #D6D7FD

Accessibility & contrast

On white

4.41
#6166F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#6166F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6166F8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166F8#FFFFFF#000000##000000
##6166F81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#0072F5
Tritanopia (blue-blind)
#008AA5
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6166f8;
/* rgb */ color: rgb(97, 102, 248);
/* oklch */ color: oklch(58.9% 0.213 276.2);
Tailwind
colors: {
  custom: {
    50: '#9c92fc',
    500: '#6166f8',
    950: '#000000',
  },
}
SCSS
$custom: #6166f8;
$custom-light: #9c92fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6166f8",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 238.013,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.58941,
    "c": 0.21349,
    "h": 276.2
  },
  "luminance": 0.18821
}

Semantic roles & 50–950 ramp

primary
#6166F8
secondary
#F2F0C3
accent
#DE00E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100D18
muted
#7F7D86

Preview Lab

Preview with #6166F8

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

Preview Lab → · Contrast checker → · Palette generator →

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