#3166BC#3166BC

#3166BC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.0% C 0.147 H 259.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#3166BC
RGBrgb(49, 102, 188)
HSLhsl(217, 59%, 46%)
HSVhsv(217, 74%, 74%)
CMYKcmyk(73.9%, 45.7%, 0%, 26.3%)
CIE-LABlab(43.92, 12.46, -50.40)
CIE-LCHlch(43.92, 51.92, 283.89°)
OKLaboklab(52.05% -0.0263 -0.1444)
OKLCHoklch(52.05% 0.147 259.7)
XYZxyz(15.0918, 13.7849, 49.4326)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166BC #BC8731
analogous
#31ACBC #3166BC #4131BC
triadic
#3166BC #BC3166 #66BC31
tetradic
#3166BC #BC31AC #BC8731 #31BC41
square
#3166BC #BC31AC #BC8731 #31BC41
split-complementary
#3166BC #BC4131 #ACBC31
monochromatic
#18315B #244C8B #3166BC #5786D3 #88A9E0

Accessibility & contrast

On white

5.59
#3166BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#3166BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166BC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166BC#FFFFFF#000000##FFFFFF
##3166BC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#1B62BA
Tritanopia (blue-blind)
#007A88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3166bc;
/* rgb */ color: rgb(49, 102, 188);
/* oklch */ color: oklch(52.0% 0.147 259.7);
Tailwind
colors: {
  custom: {
    50: '#7b91d1',
    500: '#3166bc',
    950: '#000000',
  },
}
SCSS
$custom: #3166bc;
$custom-light: #7b91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3166bc",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 217.122,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.14683,
    "h": 259.7
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#3166BC
secondary
#CAAD7F
accent
#A646E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3166BC

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

Preview Lab → · Contrast checker → · Palette generator →

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