#6166F0#6166F0

#6166F0 is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.3% C 0.203 H 276.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6166F0
RGBrgb(97, 102, 240)
HSLhsl(238, 83%, 66%)
HSVhsv(238, 60%, 94%)
CMYKcmyk(59.6%, 57.5%, 0%, 5.9%)
CIE-LABlab(49.90, 38.03, -70.26)
CIE-LCHlch(49.90, 79.90, 298.43°)
OKLaboklab(58.33% 0.023 -0.2019)
OKLCHoklch(58.33% 0.203 276.5)
XYZxyz(25.4042, 18.3335, 84.6212)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6166F0 #F0EB61
analogous
#61ADF0 #6166F0 #A361F0
triadic
#6166F0 #F06166 #66F061
tetradic
#6166F0 #F061AD #F0EB61 #61F0A3
square
#6166F0 #F061AD #F0EB61 #61F0A3
split-complementary
#6166F0 #F0A361 #ADF061
monochromatic
#1319C4 #2930EB #6166F0 #999CF5 #D1D2FB

Accessibility & contrast

On white

4.50
#6166F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#6166F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6166F0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6166F0#FFFFFF#000000##000000
##6166F01.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#0087A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6166f0;
/* rgb */ color: rgb(97, 102, 240);
/* oklch */ color: oklch(58.3% 0.203 276.5);
Tailwind
colors: {
  custom: {
    50: '#9b91f6',
    500: '#6166f0',
    950: '#000000',
  },
}
SCSS
$custom: #6166f0;
$custom-light: #9b91f6;
$custom-dark: #000000;
JSON
{
  "hex": "#6166f0",
  "rgb": {
    "r": 97,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 237.902,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.20319,
    "h": 276.5
  },
  "luminance": 0.18335
}

Semantic roles & 50–950 ramp

primary
#6166F0
secondary
#EEECBF
accent
#D706DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6166F0

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

Preview Lab → · Contrast checker → · Palette generator →

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