#3166B6#3166B6

#3166B6 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.6% C 0.139 H 258.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#3166B6
RGBrgb(49, 102, 182)
HSLhsl(216, 58%, 45%)
HSVhsv(216, 73%, 71%)
CMYKcmyk(73.1%, 44%, 0%, 28.6%)
CIE-LABlab(43.55, 10.21, -47.50)
CIE-LCHlch(43.55, 48.58, 282.14°)
OKLaboklab(51.64% -0.0274 -0.1359)
OKLCHoklch(51.64% 0.139 258.6)
XYZxyz(14.4584, 13.5315, 46.0968)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166B6 #B68131
analogous
#31A9B6 #3166B6 #3E31B6
triadic
#3166B6 #B63166 #66B631
tetradic
#3166B6 #B631A9 #B68131 #31B63E
square
#3166B6 #B631A9 #B68131 #31B63E
split-complementary
#3166B6 #B63E31 #A9B631
monochromatic
#173056 #244B86 #3166B6 #5385D1 #84A8DE

Accessibility & contrast

On white

5.67
#3166B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3166B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166B6
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166B6#FFFFFF#000000##FFFFFF
##3166B61.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6DB9
Deuteranopia (green-blind)
#2661B4
Tritanopia (blue-blind)
#007985
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3166b6;
/* rgb */ color: rgb(49, 102, 182);
/* oklch */ color: oklch(51.6% 0.139 258.6);
Tailwind
colors: {
  custom: {
    50: '#7a91cc',
    500: '#3166b6',
    950: '#000000',
  },
}
SCSS
$custom: #3166b6;
$custom-light: #7a91cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3166b6",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 182
  },
  "hsl": {
    "h": 216.09,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51641,
    "c": 0.13865,
    "h": 258.6
  },
  "luminance": 0.13533
}

Semantic roles & 50–950 ramp

primary
#3166B6
secondary
#C7A97C
accent
#A447E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3166B6

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

Preview Lab → · Contrast checker → · Palette generator →

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