#3166C5#3166C5

#3166C5 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 52.7% C 0.159 H 261.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#3166C5
RGBrgb(49, 102, 197)
HSLhsl(219, 60%, 48%)
HSVhsv(219, 75%, 77%)
CMYKcmyk(75.1%, 48.2%, 0%, 22.7%)
CIE-LABlab(44.50, 15.84, -54.69)
CIE-LCHlch(44.50, 56.94, 286.16°)
OKLaboklab(52.67% -0.0249 -0.1571)
OKLCHoklch(52.67% 0.159 261)
XYZxyz(16.0924, 14.1851, 54.7024)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166C5 #C59031
analogous
#31B0C5 #3166C5 #4631C5
triadic
#3166C5 #C53166 #66C531
tetradic
#3166C5 #C531B0 #C59031 #31C546
square
#3166C5 #C531B0 #C59031 #31C546
split-complementary
#3166C5 #C54631 #B0C531
monochromatic
#193363 #254D94 #3166C5 #5D88D7 #8EACE3

Accessibility & contrast

On white

5.47
#3166C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#3166C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166C5
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166C5#FFFFFF#000000##FFFFFF
##3166C51.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3170C9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007D8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3166c5;
/* rgb */ color: rgb(49, 102, 197);
/* oklch */ color: oklch(52.7% 0.159 261.0);
Tailwind
colors: {
  custom: {
    50: '#7d91d7',
    500: '#3166c5',
    950: '#000000',
  },
}
SCSS
$custom: #3166c5;
$custom-light: #7d91d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3166c5",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 197
  },
  "hsl": {
    "h": 218.514,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.15902,
    "h": 261
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#3166C5
secondary
#CDB385
accent
#AA44E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3166C5

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

Preview Lab → · Contrast checker → · Palette generator →

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