#3166A6#3166A6

#3166A6 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.6% C 0.117 H 254.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3166A6
RGBrgb(49, 102, 166)
HSLhsl(213, 54%, 42%)
HSVhsv(213, 70%, 65%)
CMYKcmyk(70.5%, 38.6%, 0%, 34.9%)
CIE-LABlab(42.62, 4.25, -39.59)
CIE-LCHlch(42.62, 39.82, 276.13°)
OKLaboklab(50.62% -0.031 -0.1127)
OKLCHoklch(50.62% 0.117 254.6)
XYZxyz(12.8984, 12.9075, 37.8806)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166A6 #A67131
analogous
#31A0A6 #3166A6 #3731A6
triadic
#3166A6 #A63166 #66A631
tetradic
#3166A6 #A631A0 #A67131 #31A637
square
#3166A6 #A631A0 #A67131 #31A637
split-complementary
#3166A6 #A63731 #A0A631
monochromatic
#152C47 #234977 #3166A6 #4A84CA #7AA4D8

Accessibility & contrast

On white

5.86
#3166A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3166A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166A6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166A6#FFFFFF#000000##FFFFFF
##3166A61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496BA9
Deuteranopia (green-blind)
#3760A5
Tritanopia (blue-blind)
#00757E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3166a6;
/* rgb */ color: rgb(49, 102, 166);
/* oklch */ color: oklch(50.6% 0.117 254.6);
Tailwind
colors: {
  custom: {
    50: '#7791c1',
    500: '#3166a6',
    950: '#000000',
  },
}
SCSS
$custom: #3166a6;
$custom-light: #7791c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3166a6",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 166
  },
  "hsl": {
    "h": 212.821,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50618,
    "c": 0.11688,
    "h": 254.6
  },
  "luminance": 0.12909
}

Semantic roles & 50–950 ramp

primary
#3166A6
secondary
#C09D73
accent
#9B4ADE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3166A6

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

Preview Lab → · Contrast checker → · Palette generator →

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