#3166C8#3166C8

#3166C8 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 52.9% C 0.163 H 261.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#3166C8
RGBrgb(49, 102, 200)
HSLhsl(219, 61%, 49%)
HSVhsv(219, 76%, 78%)
CMYKcmyk(75.5%, 49%, 0%, 21.6%)
CIE-LABlab(44.69, 16.97, -56.10)
CIE-LCHlch(44.69, 58.61, 286.83°)
OKLaboklab(52.89% -0.0245 -0.1612)
OKLCHoklch(52.89% 0.163 261.4)
XYZxyz(16.4396, 14.3240, 56.5308)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166C8 #C89331
analogous
#31B2C8 #3166C8 #4731C8
triadic
#3166C8 #C83166 #66C831
tetradic
#3166C8 #C831B2 #C89331 #31C847
square
#3166C8 #C831B2 #C89331 #31C847
split-complementary
#3166C8 #C84731 #B2C831
monochromatic
#193466 #254D97 #3166C8 #5F89D8 #90ADE4

Accessibility & contrast

On white

5.43
#3166C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#3166C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166C8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166C8#FFFFFF#000000##FFFFFF
##3166C81.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#007D8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3166c8;
/* rgb */ color: rgb(49, 102, 200);
/* oklch */ color: oklch(52.9% 0.163 261.4);
Tailwind
colors: {
  custom: {
    50: '#7e91d9',
    500: '#3166c8',
    950: '#000000',
  },
}
SCSS
$custom: #3166c8;
$custom-light: #7e91d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3166c8",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 218.94,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52885,
    "c": 0.16306,
    "h": 261.4
  },
  "luminance": 0.14326
}

Semantic roles & 50–950 ramp

primary
#3166C8
secondary
#CEB586
accent
#AC44E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #3166C8

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

Preview Lab → · Contrast checker → · Palette generator →

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