#3166C2#3166C2

#3166C2 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.5% C 0.155 H 260.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#3166C2
RGBrgb(49, 102, 194)
HSLhsl(218, 60%, 48%)
HSVhsv(218, 75%, 76%)
CMYKcmyk(74.7%, 47.4%, 0%, 23.9%)
CIE-LABlab(44.30, 14.72, -53.27)
CIE-LCHlch(44.30, 55.26, 285.44°)
OKLaboklab(52.46% -0.0253 -0.1529)
OKLCHoklch(52.46% 0.155 260.6)
XYZxyz(15.7521, 14.0490, 52.9100)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166C2 #C28D31
analogous
#31AEC2 #3166C2 #4431C2
triadic
#3166C2 #C23166 #66C231
tetradic
#3166C2 #C231AE #C28D31 #31C244
square
#3166C2 #C231AE #C28D31 #31C244
split-complementary
#3166C2 #C24431 #AEC231
monochromatic
#183360 #254C91 #3166C2 #5B88D6 #8CABE2

Accessibility & contrast

On white

5.51
#3166C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#3166C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166C2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166C2#FFFFFF#000000##FFFFFF
##3166C21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3470C5
Deuteranopia (green-blind)
#0963C0
Tritanopia (blue-blind)
#007C8A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3166c2;
/* rgb */ color: rgb(49, 102, 194);
/* oklch */ color: oklch(52.5% 0.155 260.6);
Tailwind
colors: {
  custom: {
    50: '#7d91d5',
    500: '#3166c2',
    950: '#000000',
  },
}
SCSS
$custom: #3166c2;
$custom-light: #7d91d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3166c2",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 218.069,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.15497,
    "h": 260.6
  },
  "luminance": 0.14051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3166C2

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

Preview Lab → · Contrast checker → · Palette generator →

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