#3166B9#3166B9

#3166B9 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.8% C 0.143 H 259.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#3166B9
RGBrgb(49, 102, 185)
HSLhsl(217, 58%, 46%)
HSVhsv(217, 74%, 73%)
CMYKcmyk(73.5%, 44.9%, 0%, 27.5%)
CIE-LABlab(43.74, 11.34, -48.95)
CIE-LCHlch(43.74, 50.25, 283.04°)
OKLaboklab(51.84% -0.0269 -0.1402)
OKLCHoklch(51.84% 0.143 259.1)
XYZxyz(14.7718, 13.6569, 47.7471)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166B9 #B98431
analogous
#31AAB9 #3166B9 #4031B9
triadic
#3166B9 #B93166 #66B931
tetradic
#3166B9 #B931AA #B98431 #31B940
square
#3166B9 #B931AA #B98431 #31B940
split-complementary
#3166B9 #B94031 #AAB931
monochromatic
#173158 #244B89 #3166B9 #5586D2 #86A8DF

Accessibility & contrast

On white

5.63
#3166B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#3166B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166B9
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166B9#FFFFFF#000000##FFFFFF
##3166B91.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBC
Deuteranopia (green-blind)
#2162B7
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3166b9;
/* rgb */ color: rgb(49, 102, 185);
/* oklch */ color: oklch(51.8% 0.143 259.1);
Tailwind
colors: {
  custom: {
    50: '#7b91ce',
    500: '#3166b9',
    950: '#000000',
  },
}
SCSS
$custom: #3166b9;
$custom-light: #7b91ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3166b9",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 185
  },
  "hsl": {
    "h": 216.618,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51842,
    "c": 0.14274,
    "h": 259.1
  },
  "luminance": 0.13658
}

Semantic roles & 50–950 ramp

primary
#3166B9
secondary
#C8AB7D
accent
#A546E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3166B9

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

Preview Lab → · Contrast checker → · Palette generator →

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