#3166C9#3166C9

#3166C9 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.0% C 0.164 H 261.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#3166C9
RGBrgb(49, 102, 201)
HSLhsl(219, 61%, 49%)
HSVhsv(219, 76%, 79%)
CMYKcmyk(75.6%, 49.3%, 0%, 21.2%)
CIE-LABlab(44.76, 17.35, -56.57)
CIE-LCHlch(44.76, 59.17, 287.05°)
OKLaboklab(52.96% -0.0243 -0.1626)
OKLCHoklch(52.96% 0.164 261.5)
XYZxyz(16.5568, 14.3709, 57.1483)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166C9 #C99431
analogous
#31B2C9 #3166C9 #4831C9
triadic
#3166C9 #C93166 #66C931
tetradic
#3166C9 #C931B2 #C99431 #31C948
square
#3166C9 #C931B2 #C99431 #31C948
split-complementary
#3166C9 #C94831 #B2C931
monochromatic
#193467 #254D98 #3166C9 #5F89D8 #90AEE4

Accessibility & contrast

On white

5.42
#3166C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3166C9
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166C9#FFFFFF#000000##FFFFFF
##3166C91.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C71CD
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#007E8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3166c9;
/* rgb */ color: rgb(49, 102, 201);
/* oklch */ color: oklch(53.0% 0.164 261.5);
Tailwind
colors: {
  custom: {
    50: '#7e91da',
    500: '#3166c9',
    950: '#000000',
  },
}
SCSS
$custom: #3166c9;
$custom-light: #7e91da;
$custom-dark: #000000;
JSON
{
  "hex": "#3166c9",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 201
  },
  "hsl": {
    "h": 219.079,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52957,
    "c": 0.16441,
    "h": 261.5
  },
  "luminance": 0.14373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3166C9

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

Preview Lab → · Contrast checker → · Palette generator →

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