#6166FA#6166FA

#6166FA is a mid, highly saturated blue. Relative luminance 0.189; OKLCH L 59.1% C 0.216 H 276.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#6166FA
RGBrgb(97, 102, 250)
HSLhsl(238, 94%, 68%)
HSVhsv(238, 61%, 98%)
CMYKcmyk(61.2%, 59.2%, 0%, 2%)
CIE-LABlab(50.62, 41.24, -74.66)
CIE-LCHlch(50.62, 85.30, 298.91°)
OKLaboklab(59.1% 0.0229 -0.2148)
OKLCHoklch(59.1% 0.216 276.1)
XYZxyz(26.9308, 18.9441, 92.6613)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166FA #FAF561
analogous
#61B3FA #6166FA #A861FA
triadic
#6166FA #FA6166 #66FA61
tetradic
#6166FA #FA61B3 #FAF561 #61FAA8
square
#6166FA #FA61B3 #FAF561 #61FAA8
split-complementary
#6166FA #FAA861 #B3FA61
monochromatic
#070EDA #262DF8 #6166FA #9C9FFC #D8D9FE

Accessibility & contrast

On white

4.38
#6166FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#6166FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6166FA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166FA#FFFFFF#000000##000000
##6166FA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0072F7
Tritanopia (blue-blind)
#008AA6
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6166fa;
/* rgb */ color: rgb(97, 102, 250);
/* oklch */ color: oklch(59.1% 0.216 276.1);
Tailwind
colors: {
  custom: {
    50: '#9c92fd',
    500: '#6166fa',
    950: '#000000',
  },
}
SCSS
$custom: #6166fa;
$custom-light: #9c92fd;
$custom-dark: #000000;
JSON
{
  "hex": "#6166fa",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 238.039,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.59095,
    "c": 0.21604,
    "h": 276.1
  },
  "luminance": 0.18946
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6166FA

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

Preview Lab → · Contrast checker → · Palette generator →

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