#164F7F#164F7F

#164F7F is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.099 H 248.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#164F7F
RGBrgb(22, 79, 127)
HSLhsl(207, 70%, 29%)
HSVhsv(207, 83%, 50%)
CMYKcmyk(82.7%, 37.8%, 0%, 50.2%)
CIE-LABlab(32.47, 0.24, -32.20)
CIE-LCHlch(32.47, 32.20, 270.42°)
OKLaboklab(41.71% -0.0361 -0.0918)
OKLCHoklch(41.71% 0.099 248.5)
XYZxyz(6.9562, 7.2940, 21.1158)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F7F #7F4616
analogous
#167F7B #164F7F #161A7F
triadic
#164F7F #7F164F #4F7F16
tetradic
#164F7F #7B167F #7F4616 #1A7F16
square
#164F7F #7B167F #7F4616 #1A7F16
split-complementary
#164F7F #7F161A #7F7B16
monochromatic
#05101A #0D2F4B #164F7F #1F6FB3 #348FDC

Accessibility & contrast

On white

8.54
#164F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#164F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F7F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F7F#FFFFFF#000000##FFFFFF
##164F7F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385281
Deuteranopia (green-blind)
#29487E
Tritanopia (blue-blind)
#005B61
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #164f7f;
/* rgb */ color: rgb(22, 79, 127);
/* oklch */ color: oklch(41.7% 0.099 248.5);
Tailwind
colors: {
  custom: {
    50: '#6680a4',
    500: '#164f7f',
    950: '#000000',
  },
}
SCSS
$custom: #164f7f;
$custom-light: #6680a4;
$custom-dark: #000000;
JSON
{
  "hex": "#164f7f",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 127
  },
  "hsl": {
    "h": 207.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41707,
    "c": 0.09862,
    "h": 248.5
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

primary
#164F7F
secondary
#B4733D
accent
#8C3BED
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #164F7F

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

Preview Lab → · Contrast checker → · Palette generator →

#164F7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva