#164872#164872

#164872 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.1% C 0.089 H 248.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#164872
RGBrgb(22, 72, 114)
HSLhsl(207, 68%, 27%)
HSVhsv(207, 81%, 45%)
CMYKcmyk(80.7%, 36.8%, 0%, 55.3%)
CIE-LABlab(29.46, -0.42, -28.84)
CIE-LCHlch(29.46, 28.85, 269.16°)
OKLaboklab(39.1% -0.0332 -0.0821)
OKLCHoklch(39.1% 0.089 248)
XYZxyz(5.6843, 6.0195, 16.7786)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164872 #724016
analogous
#16726E #164872 #161A72
triadic
#164872 #721648 #487216
tetradic
#164872 #6E1672 #724016 #1A7216
square
#164872 #6E1672 #724016 #1A7216
split-complementary
#164872 #72161A #726E16
monochromatic
#05101A #0C283F #164872 #2068A5 #2C89D6

Accessibility & contrast

On white

9.53
#164872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#164872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164872
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164872#FFFFFF#000000##FFFFFF
##1648721.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344A74
Deuteranopia (green-blind)
#274271
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #164872;
/* rgb */ color: rgb(22, 72, 114);
/* oklch */ color: oklch(39.1% 0.089 248.0);
Tailwind
colors: {
  custom: {
    50: '#627a9b',
    500: '#164872',
    950: '#000000',
  },
}
SCSS
$custom: #164872;
$custom-light: #627a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#164872",
  "rgb": {
    "r": 22,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 207.391,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.39102,
    "c": 0.08851,
    "h": 248
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#164872
secondary
#A86D3C
accent
#8C3DEB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #164872

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

Preview Lab → · Contrast checker → · Palette generator →

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