#3166C1#3166C1

#3166C1 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.4% C 0.154 H 260.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#3166C1
RGBrgb(49, 102, 193)
HSLhsl(218, 60%, 47%)
HSVhsv(218, 75%, 76%)
CMYKcmyk(74.6%, 47.2%, 0%, 24.3%)
CIE-LABlab(44.24, 14.34, -52.79)
CIE-LCHlch(44.24, 54.70, 285.20°)
OKLaboklab(52.39% -0.0255 -0.1515)
OKLCHoklch(52.39% 0.154 260.4)
XYZxyz(15.6402, 14.0042, 52.3205)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166C1 #C18C31
analogous
#31AEC1 #3166C1 #4431C1
triadic
#3166C1 #C13166 #66C131
tetradic
#3166C1 #C131AE #C18C31 #31C144
square
#3166C1 #C131AE #C18C31 #31C144
split-complementary
#3166C1 #C14431 #AEC131
monochromatic
#18325F #254C90 #3166C1 #5A87D5 #8BABE2

Accessibility & contrast

On white

5.52
#3166C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#3166C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166C1
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166C1#FFFFFF#000000##FFFFFF
##3166C11.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3570C4
Deuteranopia (green-blind)
#0D62BF
Tritanopia (blue-blind)
#007C8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3166c1;
/* rgb */ color: rgb(49, 102, 193);
/* oklch */ color: oklch(52.4% 0.154 260.4);
Tailwind
colors: {
  custom: {
    50: '#7d91d4',
    500: '#3166c1',
    950: '#000000',
  },
}
SCSS
$custom: #3166c1;
$custom-light: #7d91d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3166c1",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 193
  },
  "hsl": {
    "h": 217.917,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.15361,
    "h": 260.4
  },
  "luminance": 0.14006
}

Semantic roles & 50–950 ramp

primary
#3166C1
secondary
#CCB182
accent
#A945E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3166C1

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

Preview Lab → · Contrast checker → · Palette generator →

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