#3166B4#3166B4

#3166B4 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.5% C 0.136 H 258.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#3166B4
RGBrgb(49, 102, 180)
HSLhsl(216, 57%, 45%)
HSVhsv(216, 73%, 71%)
CMYKcmyk(72.8%, 43.3%, 0%, 29.4%)
CIE-LABlab(43.43, 9.47, -46.52)
CIE-LCHlch(43.43, 47.48, 281.50°)
OKLaboklab(51.51% -0.0278 -0.133)
OKLCHoklch(51.51% 0.136 258.2)
XYZxyz(14.2532, 13.4494, 45.0160)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166B4 #B47F31
analogous
#31A8B4 #3166B4 #3D31B4
triadic
#3166B4 #B43166 #66B431
tetradic
#3166B4 #B431A8 #B47F31 #31B43D
square
#3166B4 #B431A8 #B47F31 #31B43D
split-complementary
#3166B4 #B43D31 #A8B431
monochromatic
#172F54 #244B84 #3166B4 #5285D0 #82A7DD

Accessibility & contrast

On white

5.69
#3166B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#3166B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166B4
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166B4#FFFFFF#000000##FFFFFF
##3166B41.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406DB7
Deuteranopia (green-blind)
#2861B2
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3166b4;
/* rgb */ color: rgb(49, 102, 180);
/* oklch */ color: oklch(51.5% 0.136 258.2);
Tailwind
colors: {
  custom: {
    50: '#7a91cb',
    500: '#3166b4',
    950: '#000000',
  },
}
SCSS
$custom: #3166b4;
$custom-light: #7a91cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3166b4",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 215.725,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.13593,
    "h": 258.2
  },
  "luminance": 0.13451
}

Semantic roles & 50–950 ramp

primary
#3166B4
secondary
#C6A87B
accent
#A347E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3166B4

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

Preview Lab → · Contrast checker → · Palette generator →

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