#164F8E#164F8E

#164F8E is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.7% C 0.119 H 254.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#164F8E
RGBrgb(22, 79, 142)
HSLhsl(212, 73%, 32%)
HSVhsv(212, 85%, 56%)
CMYKcmyk(84.5%, 44.4%, 0%, 44.3%)
CIE-LABlab(33.38, 6.34, -39.97)
CIE-LCHlch(33.38, 40.47, 279.02°)
OKLaboklab(42.72% -0.0323 -0.1146)
OKLCHoklch(42.72% 0.119 254.3)
XYZxyz(8.0075, 7.7145, 26.6530)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164F8E #8E5516
analogous
#168B8E #164F8E #19168E
triadic
#164F8E #8E164F #4F8E16
tetradic
#164F8E #8E168B #8E5516 #168E19
square
#164F8E #8E168B #8E5516 #168E19
split-complementary
#164F8E #8E1916 #8B8E16
monochromatic
#061424 #0E3259 #164F8E #1E6CC3 #3D8BE1

Accessibility & contrast

On white

8.26
#164F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#164F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164F8E
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164F8E#FFFFFF#000000##FFFFFF
##164F8E1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#174A8D
Tritanopia (blue-blind)
#005E67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #164f8e;
/* rgb */ color: rgb(22, 79, 142);
/* oklch */ color: oklch(42.7% 0.119 254.3);
Tailwind
colors: {
  custom: {
    50: '#697faf',
    500: '#164f8e',
    950: '#000000',
  },
}
SCSS
$custom: #164f8e;
$custom-light: #697faf;
$custom-dark: #000000;
JSON
{
  "hex": "#164f8e",
  "rgb": {
    "r": 22,
    "g": 79,
    "b": 142
  },
  "hsl": {
    "h": 211.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42718,
    "c": 0.11905,
    "h": 254.3
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#164F8E
secondary
#C1833F
accent
#9838F0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A10
muted
#7A7C7F

Preview Lab

Preview with #164F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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