#3166C6#3166C6

#3166C6 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.160 H 261.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#3166C6
RGBrgb(49, 102, 198)
HSLhsl(219, 60%, 48%)
HSVhsv(219, 75%, 78%)
CMYKcmyk(75.3%, 48.5%, 0%, 22.4%)
CIE-LABlab(44.56, 16.22, -55.16)
CIE-LCHlch(44.56, 57.49, 286.39°)
OKLaboklab(52.74% -0.0247 -0.1584)
OKLCHoklch(52.74% 0.16 261.1)
XYZxyz(16.2074, 14.2311, 55.3078)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166C6 #C69131
analogous
#31B0C6 #3166C6 #4731C6
triadic
#3166C6 #C63166 #66C631
tetradic
#3166C6 #C631B0 #C69131 #31C647
square
#3166C6 #C631B0 #C69131 #31C647
split-complementary
#3166C6 #C64731 #B0C631
monochromatic
#193364 #254D95 #3166C6 #5D89D7 #8EACE3

Accessibility & contrast

On white

5.46
#3166C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#3166C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166C6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166C6#FFFFFF#000000##FFFFFF
##3166C61.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F71CA
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#007D8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3166c6;
/* rgb */ color: rgb(49, 102, 198);
/* oklch */ color: oklch(52.7% 0.160 261.1);
Tailwind
colors: {
  custom: {
    50: '#7e91d8',
    500: '#3166c6',
    950: '#000000',
  },
}
SCSS
$custom: #3166c6;
$custom-light: #7e91d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3166c6",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 198
  },
  "hsl": {
    "h": 218.658,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52743,
    "c": 0.16037,
    "h": 261.1
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#3166C6
secondary
#CEB485
accent
#AB44E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3166C6

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

Preview Lab → · Contrast checker → · Palette generator →

#3166C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva