#6166F2#6166F2

#6166F2 is a mid, highly saturated blue. Relative luminance 0.185; OKLCH L 58.5% C 0.206 H 276.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6166F2
RGBrgb(97, 102, 242)
HSLhsl(238, 85%, 66%)
HSVhsv(238, 60%, 95%)
CMYKcmyk(59.9%, 57.9%, 0%, 5.1%)
CIE-LABlab(50.04, 38.67, -71.15)
CIE-LCHlch(50.04, 80.98, 298.53°)
OKLaboklab(58.48% 0.023 -0.2045)
OKLCHoklch(58.48% 0.206 276.4)
XYZxyz(25.7030, 18.4530, 86.1945)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166F2 #F2ED61
analogous
#61AFF2 #6166F2 #A561F2
triadic
#6166F2 #F26166 #66F261
tetradic
#6166F2 #F261AF #F2ED61 #61F2A5
square
#6166F2 #F261AF #F2ED61 #61F2A5
split-complementary
#6166F2 #F2A561 #AFF261
monochromatic
#1017C8 #282FED #6166F2 #9A9DF7 #D2D4FB

Accessibility & contrast

On white

4.48
#6166F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#6166F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6166F2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166F2#FFFFFF#000000##000000
##6166F21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0071EF
Tritanopia (blue-blind)
#0088A2
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6166f2;
/* rgb */ color: rgb(97, 102, 242);
/* oklch */ color: oklch(58.5% 0.206 276.4);
Tailwind
colors: {
  custom: {
    50: '#9b91f7',
    500: '#6166f2',
    950: '#000000',
  },
}
SCSS
$custom: #6166f2;
$custom-light: #9b91f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6166f2",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 237.931,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58483,
    "c": 0.20578,
    "h": 276.4
  },
  "luminance": 0.18455
}

Semantic roles & 50–950 ramp

primary
#6166F2
secondary
#EFEDC0
accent
#DA04E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6166F2

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

Preview Lab → · Contrast checker → · Palette generator →

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