#3166CC#3166CC

#3166CC is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.2% C 0.168 H 261.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3166CC
RGBrgb(49, 102, 204)
HSLhsl(219, 61%, 50%)
HSVhsv(219, 76%, 80%)
CMYKcmyk(76%, 50%, 0%, 20%)
CIE-LABlab(44.96, 18.47, -57.97)
CIE-LCHlch(44.96, 60.84, 287.67°)
OKLaboklab(53.17% -0.0239 -0.1667)
OKLCHoklch(53.17% 0.168 261.8)
XYZxyz(16.9132, 14.5134, 59.0250)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166CC #CC9731
analogous
#31B4CC #3166CC #4A31CC
triadic
#3166CC #CC3166 #66CC31
tetradic
#3166CC #CC31B4 #CC9731 #31CC4A
square
#3166CC #CC31B4 #CC9731 #31CC4A
split-complementary
#3166CC #CC4A31 #B4CC31
monochromatic
#193569 #254D9B #3166CC #618AD9 #92AFE5

Accessibility & contrast

On white

5.38
#3166CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#3166CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166CC
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166CC#FFFFFF#000000##FFFFFF
##3166CC1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2872D0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#007E8F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3166cc;
/* rgb */ color: rgb(49, 102, 204);
/* oklch */ color: oklch(53.2% 0.168 261.8);
Tailwind
colors: {
  custom: {
    50: '#7f91dc',
    500: '#3166cc',
    950: '#000000',
  },
}
SCSS
$custom: #3166cc;
$custom-light: #7f91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3166cc",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 219.484,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53174,
    "c": 0.16844,
    "h": 261.8
  },
  "luminance": 0.14515
}

Semantic roles & 50–950 ramp

primary
#3166CC
secondary
#D0B889
accent
#AD43E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3166CC

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

Preview Lab → · Contrast checker → · Palette generator →

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