#3166C4#3166C4

#3166C4 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 52.6% C 0.158 H 260.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#3166C4
RGBrgb(49, 102, 196)
HSLhsl(218, 60%, 48%)
HSVhsv(218, 75%, 77%)
CMYKcmyk(75%, 48%, 0%, 23.1%)
CIE-LABlab(44.43, 15.47, -54.21)
CIE-LCHlch(44.43, 56.38, 285.92°)
OKLaboklab(52.6% -0.025 -0.1557)
OKLCHoklch(52.6% 0.158 260.9)
XYZxyz(15.9782, 14.1394, 54.1009)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166C4 #C48F31
analogous
#31B0C4 #3166C4 #4531C4
triadic
#3166C4 #C43166 #66C431
tetradic
#3166C4 #C431B0 #C48F31 #31C445
square
#3166C4 #C431B0 #C48F31 #31C445
split-complementary
#3166C4 #C44531 #B0C431
monochromatic
#193362 #254D93 #3166C4 #5C88D6 #8DACE2

Accessibility & contrast

On white

5.49
#3166C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3166C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166C4
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166C4#FFFFFF#000000##FFFFFF
##3166C41.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3270C7
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#007C8B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3166c4;
/* rgb */ color: rgb(49, 102, 196);
/* oklch */ color: oklch(52.6% 0.158 260.9);
Tailwind
colors: {
  custom: {
    50: '#7d91d6',
    500: '#3166c4',
    950: '#000000',
  },
}
SCSS
$custom: #3166c4;
$custom-light: #7d91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3166c4",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 196
  },
  "hsl": {
    "h": 218.367,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52601,
    "c": 0.15767,
    "h": 260.9
  },
  "luminance": 0.14141
}

Semantic roles & 50–950 ramp

primary
#3166C4
secondary
#CDB384
accent
#AA45E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3166C4

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

Preview Lab → · Contrast checker → · Palette generator →

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