#6166F1#6166F1

#6166F1 is a mid, highly saturated blue. Relative luminance 0.184; OKLCH L 58.4% C 0.204 H 276.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6166F1
RGBrgb(97, 102, 241)
HSLhsl(238, 84%, 66%)
HSVhsv(238, 60%, 95%)
CMYKcmyk(59.8%, 57.7%, 0%, 5.5%)
CIE-LABlab(49.97, 38.35, -70.71)
CIE-LCHlch(49.97, 80.44, 298.48°)
OKLaboklab(58.41% 0.023 -0.2032)
OKLCHoklch(58.41% 0.204 276.5)
XYZxyz(25.5532, 18.3930, 85.4057)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166F1 #F1EC61
analogous
#61AEF1 #6166F1 #A461F1
triadic
#6166F1 #F16166 #66F161
tetradic
#6166F1 #F161AE #F1EC61 #61F1A4
square
#6166F1 #F161AE #F1EC61 #61F1A4
split-complementary
#6166F1 #F1A461 #AEF161
monochromatic
#1218C6 #2930EC #6166F1 #999CF6 #D1D3FB

Accessibility & contrast

On white

4.49
#6166F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#6166F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6166F1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166F1#FFFFFF#000000##000000
##6166F11.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#0071EE
Tritanopia (blue-blind)
#0087A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6166f1;
/* rgb */ color: rgb(97, 102, 241);
/* oklch */ color: oklch(58.4% 0.204 276.5);
Tailwind
colors: {
  custom: {
    50: '#9b91f7',
    500: '#6166f1',
    950: '#000000',
  },
}
SCSS
$custom: #6166f1;
$custom-light: #9b91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6166f1",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 241
  },
  "hsl": {
    "h": 237.917,
    "s": 83.721,
    "l": 66.275
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.20449,
    "h": 276.5
  },
  "luminance": 0.18395
}

Semantic roles & 50–950 ramp

primary
#6166F1
secondary
#EEEDBF
accent
#D905E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6166F1

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

Preview Lab → · Contrast checker → · Palette generator →

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