#3166AC#3166AC

#3166AC is a mid, vivid cyan. Relative luminance 0.131; OKLCH L 51.0% C 0.125 H 256.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3166AC
RGBrgb(49, 102, 172)
HSLhsl(214, 56%, 43%)
HSVhsv(214, 72%, 67%)
CMYKcmyk(71.5%, 40.7%, 0%, 32.5%)
CIE-LABlab(42.96, 6.48, -42.58)
CIE-LCHlch(42.96, 43.07, 278.65°)
OKLaboklab(50.99% -0.0296 -0.1215)
OKLCHoklch(50.99% 0.125 256.3)
XYZxyz(13.4617, 13.1328, 40.8472)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166AC #AC7731
analogous
#31A3AC #3166AC #3931AC
triadic
#3166AC #AC3166 #66AC31
tetradic
#3166AC #AC31A3 #AC7731 #31AC39
square
#3166AC #AC31A3 #AC7731 #31AC39
split-complementary
#3166AC #AC3931 #A3AC31
monochromatic
#162E4D #234A7C #3166AC #4E84CC #7DA5DA

Accessibility & contrast

On white

5.79
#3166AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3166AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166AC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166AC#FFFFFF#000000##FFFFFF
##3166AC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456CAF
Deuteranopia (green-blind)
#3260AB
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3166ac;
/* rgb */ color: rgb(49, 102, 172);
/* oklch */ color: oklch(51.0% 0.125 256.3);
Tailwind
colors: {
  custom: {
    50: '#7891c5',
    500: '#3166ac',
    950: '#000000',
  },
}
SCSS
$custom: #3166ac;
$custom-light: #7891c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3166ac",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 214.146,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50992,
    "c": 0.12502,
    "h": 256.3
  },
  "luminance": 0.13134
}

Semantic roles & 50–950 ramp

primary
#3166AC
secondary
#C3A276
accent
#9E49DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #3166AC

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

Preview Lab → · Contrast checker → · Palette generator →

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