#3166A5#3166A5

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

Color values

HEX#3166A5
RGBrgb(49, 102, 165)
HSLhsl(213, 54%, 42%)
HSVhsv(213, 70%, 65%)
CMYKcmyk(70.3%, 38.2%, 0%, 35.3%)
CIE-LABlab(42.57, 3.88, -39.09)
CIE-LCHlch(42.57, 39.28, 275.68°)
OKLaboklab(50.56% -0.0312 -0.1112)
OKLCHoklch(50.56% 0.116 254.3)
XYZxyz(12.8070, 12.8710, 37.3994)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166A5 #A57031
analogous
#31A0A5 #3166A5 #3631A5
triadic
#3166A5 #A53166 #66A531
tetradic
#3166A5 #A531A0 #A57031 #31A536
square
#3166A5 #A531A0 #A57031 #31A536
split-complementary
#3166A5 #A53631 #A0A531
monochromatic
#152C47 #234976 #3166A5 #4A84C9 #79A4D7

Accessibility & contrast

On white

5.88
#3166A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3166A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166A5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166A5#FFFFFF#000000##FFFFFF
##3166A51.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496AA8
Deuteranopia (green-blind)
#3860A4
Tritanopia (blue-blind)
#00757D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3166a5;
/* rgb */ color: rgb(49, 102, 165);
/* oklch */ color: oklch(50.6% 0.116 254.3);
Tailwind
colors: {
  custom: {
    50: '#7791c0',
    500: '#3166a5',
    950: '#000000',
  },
}
SCSS
$custom: #3166a5;
$custom-light: #7791c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3166a5",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 165
  },
  "hsl": {
    "h": 212.586,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.11554,
    "h": 254.3
  },
  "luminance": 0.12872
}

Semantic roles & 50–950 ramp

primary
#3166A5
secondary
#C09C72
accent
#9A4ADE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3166A5

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

Preview Lab → · Contrast checker → · Palette generator →

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