#3166B8#3166B8

#3166B8 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 51.8% C 0.141 H 259.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3166B8
RGBrgb(49, 102, 184)
HSLhsl(216, 58%, 46%)
HSVhsv(216, 73%, 72%)
CMYKcmyk(73.4%, 44.6%, 0%, 27.8%)
CIE-LABlab(43.68, 10.96, -48.47)
CIE-LCHlch(43.68, 49.69, 282.75°)
OKLaboklab(51.78% -0.0271 -0.1388)
OKLCHoklch(51.78% 0.141 259)
XYZxyz(14.6666, 13.6148, 47.1931)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166B8 #B88331
analogous
#31AAB8 #3166B8 #3F31B8
triadic
#3166B8 #B83166 #66B831
tetradic
#3166B8 #B831AA #B88331 #31B83F
square
#3166B8 #B831AA #B88331 #31B83F
split-complementary
#3166B8 #B83F31 #AAB831
monochromatic
#173057 #244B88 #3166B8 #5586D2 #85A8DE

Accessibility & contrast

On white

5.64
#3166B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#3166B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166B8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166B8#FFFFFF#000000##FFFFFF
##3166B81.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBB
Deuteranopia (green-blind)
#2261B6
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3166b8;
/* rgb */ color: rgb(49, 102, 184);
/* oklch */ color: oklch(51.8% 0.141 259.0);
Tailwind
colors: {
  custom: {
    50: '#7b91ce',
    500: '#3166b8',
    950: '#000000',
  },
}
SCSS
$custom: #3166b8;
$custom-light: #7b91ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3166b8",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 216.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.14139,
    "h": 259
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#3166B8
secondary
#C8AA7D
accent
#A447E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3166B8

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

Preview Lab → · Contrast checker → · Palette generator →

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