#3166BA#3166BA

#3166BA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.9% C 0.144 H 259.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3166BA
RGBrgb(49, 102, 186)
HSLhsl(217, 58%, 46%)
HSVhsv(217, 74%, 73%)
CMYKcmyk(73.7%, 45.2%, 0%, 27.1%)
CIE-LABlab(43.80, 11.71, -49.44)
CIE-LCHlch(43.80, 50.80, 283.33°)
OKLaboklab(51.91% -0.0267 -0.1416)
OKLCHoklch(51.91% 0.144 259.3)
XYZxyz(14.8777, 13.6992, 48.3050)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166BA #BA8531
analogous
#31AABA #3166BA #4031BA
triadic
#3166BA #BA3166 #66BA31
tetradic
#3166BA #BA31AA #BA8531 #31BA40
square
#3166BA #BA31AA #BA8531 #31BA40
split-complementary
#3166BA #BA4031 #AABA31
monochromatic
#173159 #244B8A #3166BA #5686D2 #86A9DF

Accessibility & contrast

On white

5.61
#3166BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#3166BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166BA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166BA#FFFFFF#000000##FFFFFF
##3166BA1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#1F62B8
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3166ba;
/* rgb */ color: rgb(49, 102, 186);
/* oklch */ color: oklch(51.9% 0.144 259.3);
Tailwind
colors: {
  custom: {
    50: '#7b91cf',
    500: '#3166ba',
    950: '#000000',
  },
}
SCSS
$custom: #3166ba;
$custom-light: #7b91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3166ba",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 216.788,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5191,
    "c": 0.14411,
    "h": 259.3
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#3166BA
secondary
#C9AC7E
accent
#A546E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3166BA

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

Preview Lab → · Contrast checker → · Palette generator →

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