#3166B1#3166B1

#3166B1 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.3% C 0.132 H 257.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3166B1
RGBrgb(49, 102, 177)
HSLhsl(215, 57%, 44%)
HSVhsv(215, 72%, 69%)
CMYKcmyk(72.3%, 42.4%, 0%, 30.6%)
CIE-LABlab(43.25, 8.34, -45.05)
CIE-LCHlch(43.25, 45.82, 280.49°)
OKLaboklab(51.31% -0.0285 -0.1287)
OKLCHoklch(51.31% 0.132 257.5)
XYZxyz(13.9509, 13.3285, 43.4239)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166B1 #B17C31
analogous
#31A6B1 #3166B1 #3C31B1
triadic
#3166B1 #B13166 #66B131
tetradic
#3166B1 #B131A6 #B17C31 #31B13C
square
#3166B1 #B131A6 #B17C31 #31B13C
split-complementary
#3166B1 #B13C31 #A6B131
monochromatic
#162F51 #244A81 #3166B1 #5185CF #80A6DC

Accessibility & contrast

On white

5.73
#3166B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3166B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166B1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166B1#FFFFFF#000000##FFFFFF
##3166B11.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426DB4
Deuteranopia (green-blind)
#2C61AF
Tritanopia (blue-blind)
#007883
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3166b1;
/* rgb */ color: rgb(49, 102, 177);
/* oklch */ color: oklch(51.3% 0.132 257.5);
Tailwind
colors: {
  custom: {
    50: '#7991c9',
    500: '#3166b1',
    950: '#000000',
  },
}
SCSS
$custom: #3166b1;
$custom-light: #7991c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3166b1",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 177
  },
  "hsl": {
    "h": 215.156,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.13184,
    "h": 257.5
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#3166B1
secondary
#C5A579
accent
#A148E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3166B1

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

Preview Lab → · Contrast checker → · Palette generator →

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