#3166AB#3166AB

#3166AB is a mid, vivid cyan. Relative luminance 0.131; OKLCH L 50.9% C 0.124 H 256.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3166AB
RGBrgb(49, 102, 171)
HSLhsl(214, 55%, 43%)
HSVhsv(214, 71%, 67%)
CMYKcmyk(71.3%, 40.4%, 0%, 32.9%)
CIE-LABlab(42.91, 6.11, -42.09)
CIE-LCHlch(42.91, 42.53, 278.26°)
OKLaboklab(50.93% -0.0298 -0.12)
OKLCHoklch(50.93% 0.124 256.1)
XYZxyz(13.3660, 13.0946, 40.3433)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166AB #AB7631
analogous
#31A3AB #3166AB #3931AB
triadic
#3166AB #AB3166 #66AB31
tetradic
#3166AB #AB31A3 #AB7631 #31AB39
square
#3166AB #AB31A3 #AB7631 #31AB39
split-complementary
#3166AB #AB3931 #A3AB31
monochromatic
#162D4C #234A7B #3166AB #4D84CC #7DA5DA

Accessibility & contrast

On white

5.80
#3166AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3166AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166AB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166AB#FFFFFF#000000##FFFFFF
##3166AB1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466BAE
Deuteranopia (green-blind)
#3360AA
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3166ab;
/* rgb */ color: rgb(49, 102, 171);
/* oklch */ color: oklch(50.9% 0.124 256.1);
Tailwind
colors: {
  custom: {
    50: '#7891c4',
    500: '#3166ab',
    950: '#000000',
  },
}
SCSS
$custom: #3166ab;
$custom-light: #7891c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3166ab",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 213.934,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50929,
    "c": 0.12367,
    "h": 256.1
  },
  "luminance": 0.13096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3166AB

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

Preview Lab → · Contrast checker → · Palette generator →

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