#3166A8#3166A8

#3166A8 is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.7% C 0.120 H 255.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#3166A8
RGBrgb(49, 102, 168)
HSLhsl(213, 55%, 43%)
HSVhsv(213, 71%, 66%)
CMYKcmyk(70.8%, 39.3%, 0%, 34.1%)
CIE-LABlab(42.74, 4.99, -40.59)
CIE-LCHlch(42.74, 40.90, 277.01°)
OKLaboklab(50.74% -0.0305 -0.1156)
OKLCHoklch(50.74% 0.12 255.2)
XYZxyz(13.0833, 12.9815, 38.8544)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3166A8 #A87331
analogous
#31A2A8 #3166A8 #3731A8
triadic
#3166A8 #A83166 #66A831
tetradic
#3166A8 #A831A2 #A87331 #31A837
square
#3166A8 #A831A2 #A87331 #31A837
split-complementary
#3166A8 #A83731 #A2A831
monochromatic
#152C49 #234979 #3166A8 #4C84CB #7BA5D8

Accessibility & contrast

On white

5.84
#3166A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3166A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3166A8
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3166A8#FFFFFF#000000##FFFFFF
##3166A81.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486BAB
Deuteranopia (green-blind)
#3660A7
Tritanopia (blue-blind)
#00757F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3166a8;
/* rgb */ color: rgb(49, 102, 168);
/* oklch */ color: oklch(50.7% 0.120 255.2);
Tailwind
colors: {
  custom: {
    50: '#7791c2',
    500: '#3166a8',
    950: '#000000',
  },
}
SCSS
$custom: #3166a8;
$custom-light: #7791c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3166a8",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 168
  },
  "hsl": {
    "h": 213.277,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50741,
    "c": 0.11959,
    "h": 255.2
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#3166A8
secondary
#C19F74
accent
#9C4ADE
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3166A8

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

Preview Lab → · Contrast checker → · Palette generator →

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