#164A7F#164A7F

#164A7F is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.104 H 252.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#164A7F
RGBrgb(22, 74, 127)
HSLhsl(210, 70%, 29%)
HSVhsv(210, 83%, 50%)
CMYKcmyk(82.7%, 41.7%, 0%, 50.2%)
CIE-LABlab(30.88, 3.55, -34.73)
CIE-LCHlch(30.88, 34.91, 275.83°)
OKLaboklab(40.46% -0.0315 -0.0993)
OKLCHoklch(40.46% 0.104 252.4)
XYZxyz(6.6090, 6.5996, 21.0001)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164A7F #7F4B16
analogous
#167F7F #164A7F #17167F
triadic
#164A7F #7F164A #4A7F16
tetradic
#164A7F #7F167F #7F4B16 #167F17
square
#164A7F #7F167F #7F4B16 #167F17
split-complementary
#164A7F #7F1716 #7F7F16
monochromatic
#050F1A #0D2C4B #164A7F #1F68B3 #3487DC

Accessibility & contrast

On white

9.05
#164A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#164A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164A7F
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164A7F#FFFFFF#000000##FFFFFF
##164A7F1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#1F447E
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #164a7f;
/* rgb */ color: rgb(22, 74, 127);
/* oklch */ color: oklch(40.5% 0.104 252.4);
Tailwind
colors: {
  custom: {
    50: '#667ca4',
    500: '#164a7f',
    950: '#000000',
  },
}
SCSS
$custom: #164a7f;
$custom-light: #667ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#164a7f",
  "rgb": {
    "r": 22,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 210.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40463,
    "c": 0.10415,
    "h": 252.4
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#164A7F
secondary
#B4793D
accent
#953BED
background
#F6F7FA
surface
#EBEEF4
border
#C6C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #164A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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