#164172#164172

#164172 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.3% C 0.096 H 254.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#164172
RGBrgb(22, 65, 114)
HSLhsl(212, 68%, 27%)
HSVhsv(212, 81%, 45%)
CMYKcmyk(80.7%, 43%, 0%, 55.3%)
CIE-LABlab(27.20, 4.30, -32.44)
CIE-LCHlch(27.20, 32.72, 277.54°)
OKLaboklab(37.33% -0.0263 -0.0927)
OKLCHoklch(37.33% 0.096 254.2)
XYZxyz(5.2573, 5.1655, 16.6363)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164172 #724716
analogous
#166F72 #164172 #191672
triadic
#164172 #721641 #417216
tetradic
#164172 #72166F #724716 #167219
square
#164172 #72166F #724716 #167219
split-complementary
#164172 #721916 #6F7216
monochromatic
#050F1A #0C243F #164172 #205EA5 #2C7CD6

Accessibility & contrast

On white

10.33
#164172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #164172
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164172#FFFFFF#000000##FFFFFF
##1641721.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294574
Deuteranopia (green-blind)
#1A3C71
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #164172;
/* rgb */ color: rgb(22, 65, 114);
/* oklch */ color: oklch(37.3% 0.096 254.2);
Tailwind
colors: {
  custom: {
    50: '#62759b',
    500: '#164172',
    950: '#000000',
  },
}
SCSS
$custom: #164172;
$custom-light: #62759b;
$custom-dark: #000000;
JSON
{
  "hex": "#164172",
  "rgb": {
    "r": 22,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 211.957,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37333,
    "c": 0.09638,
    "h": 254.2
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#164172
secondary
#A8753C
accent
#9A3DEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #164172

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

Preview Lab → · Contrast checker → · Palette generator →

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