#164171#164171

#164171 is a dark, moderate cyan. Relative luminance 0.051; OKLCH L 37.3% C 0.095 H 253.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#164171
RGBrgb(22, 65, 113)
HSLhsl(212, 67%, 26%)
HSVhsv(212, 81%, 44%)
CMYKcmyk(80.5%, 42.5%, 0%, 55.7%)
CIE-LABlab(27.14, 3.88, -31.90)
CIE-LCHlch(27.14, 32.14, 276.94°)
OKLaboklab(37.26% -0.0266 -0.0912)
OKLCHoklch(37.26% 0.095 253.8)
XYZxyz(5.2007, 5.1428, 16.3381)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164171 #714616
analogous
#166F71 #164171 #191671
triadic
#164171 #711641 #417116
tetradic
#164171 #71166F #714616 #167119
square
#164171 #71166F #714616 #167119
split-complementary
#164171 #711916 #6F7116
monochromatic
#050F1A #0C243E #164171 #205EA4 #2C7CD6

Accessibility & contrast

On white

10.35
#164171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#164171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164171
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164171#FFFFFF#000000##FFFFFF
##1641711.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#1B3C70
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #164171;
/* rgb */ color: rgb(22, 65, 113);
/* oklch */ color: oklch(37.3% 0.095 253.8);
Tailwind
colors: {
  custom: {
    50: '#62759a',
    500: '#164171',
    950: '#000000',
  },
}
SCSS
$custom: #164171;
$custom-light: #62759a;
$custom-dark: #000000;
JSON
{
  "hex": "#164171",
  "rgb": {
    "r": 22,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 211.648,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37263,
    "c": 0.09495,
    "h": 253.8
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#164171
secondary
#A7743C
accent
#993EEA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #164171

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

Preview Lab → · Contrast checker → · Palette generator →

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