#3166B5#3166B5

#3166B5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.6% C 0.137 H 258.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#3166B5
RGBrgb(49, 102, 181)
HSLhsl(216, 57%, 45%)
HSVhsv(216, 73%, 71%)
CMYKcmyk(72.9%, 43.6%, 0%, 29%)
CIE-LABlab(43.49, 9.84, -47.01)
CIE-LCHlch(43.49, 48.03, 281.82°)
OKLaboklab(51.58% -0.0276 -0.1345)
OKLCHoklch(51.58% 0.137 258.4)
XYZxyz(14.3555, 13.4903, 45.5544)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166B5 #B58031
analogous
#31A8B5 #3166B5 #3E31B5
triadic
#3166B5 #B53166 #66B531
tetradic
#3166B5 #B531A8 #B58031 #31B53E
square
#3166B5 #B531A8 #B58031 #31B53E
split-complementary
#3166B5 #B53E31 #A8B531
monochromatic
#173055 #244B85 #3166B5 #5385D0 #83A7DD

Accessibility & contrast

On white

5.68
#3166B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#3166B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166B5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166B5#FFFFFF#000000##FFFFFF
##3166B51.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#2761B3
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3166b5;
/* rgb */ color: rgb(49, 102, 181);
/* oklch */ color: oklch(51.6% 0.137 258.4);
Tailwind
colors: {
  custom: {
    50: '#7a91cc',
    500: '#3166b5',
    950: '#000000',
  },
}
SCSS
$custom: #3166b5;
$custom-light: #7a91cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3166b5",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 215.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.13729,
    "h": 258.4
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#3166B5
secondary
#C7A87B
accent
#A347E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3166B5

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

Preview Lab → · Contrast checker → · Palette generator →

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