#3166B3#3166B3

#3166B3 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.4% C 0.135 H 258.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#3166B3
RGBrgb(49, 102, 179)
HSLhsl(216, 57%, 45%)
HSVhsv(216, 73%, 70%)
CMYKcmyk(72.6%, 43%, 0%, 29.8%)
CIE-LABlab(43.37, 9.09, -46.03)
CIE-LCHlch(43.37, 46.92, 281.17°)
OKLaboklab(51.44% -0.028 -0.1316)
OKLCHoklch(51.44% 0.135 258)
XYZxyz(14.1517, 13.4088, 44.4814)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166B3 #B37E31
analogous
#31A7B3 #3166B3 #3D31B3
triadic
#3166B3 #B33166 #66B331
tetradic
#3166B3 #B331A7 #B37E31 #31B33D
square
#3166B3 #B331A7 #B37E31 #31B33D
split-complementary
#3166B3 #B33D31 #A7B331
monochromatic
#172F53 #244B83 #3166B3 #5285D0 #82A7DD

Accessibility & contrast

On white

5.70
#3166B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3166B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166B3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166B3#FFFFFF#000000##FFFFFF
##3166B31.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416DB6
Deuteranopia (green-blind)
#2A61B1
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3166b3;
/* rgb */ color: rgb(49, 102, 179);
/* oklch */ color: oklch(51.4% 0.135 258.0);
Tailwind
colors: {
  custom: {
    50: '#7a91ca',
    500: '#3166b3',
    950: '#000000',
  },
}
SCSS
$custom: #3166b3;
$custom-light: #7a91ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3166b3",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 215.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51443,
    "c": 0.13457,
    "h": 258
  },
  "luminance": 0.1341
}

Semantic roles & 50–950 ramp

primary
#3166B3
secondary
#C6A77A
accent
#A248E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3166B3

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

Preview Lab → · Contrast checker → · Palette generator →

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