#3166BD#3166BD

#3166BD is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.1% C 0.148 H 259.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#3166BD
RGBrgb(49, 102, 189)
HSLhsl(217, 59%, 47%)
HSVhsv(217, 74%, 74%)
CMYKcmyk(74.1%, 46%, 0%, 25.9%)
CIE-LABlab(43.99, 12.84, -50.88)
CIE-LCHlch(43.99, 52.47, 284.16°)
OKLaboklab(52.11% -0.0262 -0.1459)
OKLCHoklch(52.11% 0.148 259.8)
XYZxyz(15.2000, 13.8281, 50.0023)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166BD #BD8831
analogous
#31ACBD #3166BD #4231BD
triadic
#3166BD #BD3166 #66BD31
tetradic
#3166BD #BD31AC #BD8831 #31BD42
square
#3166BD #BD31AC #BD8831 #31BD42
split-complementary
#3166BD #BD4231 #ACBD31
monochromatic
#18325C #244C8C #3166BD #5887D4 #88AAE0

Accessibility & contrast

On white

5.58
#3166BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#3166BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166BD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166BD#FFFFFF#000000##FFFFFF
##3166BD1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396FC0
Deuteranopia (green-blind)
#1962BB
Tritanopia (blue-blind)
#007B88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3166bd;
/* rgb */ color: rgb(49, 102, 189);
/* oklch */ color: oklch(52.1% 0.148 259.8);
Tailwind
colors: {
  custom: {
    50: '#7c91d1',
    500: '#3166bd',
    950: '#000000',
  },
}
SCSS
$custom: #3166bd;
$custom-light: #7c91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3166bd",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 217.286,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.52114,
    "c": 0.14819,
    "h": 259.8
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#3166BD
secondary
#CAAE80
accent
#A746E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3166BD

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

Preview Lab → · Contrast checker → · Palette generator →

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