#164786#164786

#164786 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.2% C 0.118 H 256.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#164786
RGBrgb(22, 71, 134)
HSLhsl(214, 72%, 31%)
HSVhsv(214, 84%, 53%)
CMYKcmyk(83.6%, 47%, 0%, 47.5%)
CIE-LABlab(30.39, 8.46, -39.85)
CIE-LCHlch(30.39, 40.73, 281.99°)
OKLaboklab(40.23% -0.0273 -0.1144)
OKLCHoklch(40.23% 0.118 256.6)
XYZxyz(6.8856, 6.3974, 23.4216)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164786 #865516
analogous
#167F86 #164786 #1D1686
triadic
#164786 #861647 #478616
tetradic
#164786 #86167F #865516 #16861D
square
#164786 #86167F #865516 #16861D
split-complementary
#164786 #861D16 #7F8616
monochromatic
#050F1D #0D2B51 #164786 #1F63BB #3881DE

Accessibility & contrast

On white

9.21
#164786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#164786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164786
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164786#FFFFFF#000000##FFFFFF
##1647861.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D88
Deuteranopia (green-blind)
#094385
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #164786;
/* rgb */ color: rgb(22, 71, 134);
/* oklch */ color: oklch(40.2% 0.118 256.6);
Tailwind
colors: {
  custom: {
    50: '#6779aa',
    500: '#164786',
    950: '#000000',
  },
}
SCSS
$custom: #164786;
$custom-light: #6779aa;
$custom-dark: #000000;
JSON
{
  "hex": "#164786",
  "rgb": {
    "r": 22,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 213.75,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40233,
    "c": 0.11758,
    "h": 256.6
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#164786
secondary
#BA843E
accent
#9F39EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #164786

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

Preview Lab → · Contrast checker → · Palette generator →

#164786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva