#164787#164787

#164787 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.3% C 0.119 H 256.9°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#164787
RGBrgb(22, 71, 135)
HSLhsl(214, 72%, 31%)
HSVhsv(214, 84%, 53%)
CMYKcmyk(83.7%, 47.4%, 0%, 47.1%)
CIE-LABlab(30.46, 8.87, -40.35)
CIE-LCHlch(30.46, 41.32, 282.40°)
OKLaboklab(40.31% -0.0271 -0.1159)
OKLCHoklch(40.31% 0.119 256.9)
XYZxyz(6.9557, 6.4255, 23.7906)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164787 #875616
analogous
#167F87 #164787 #1D1687
triadic
#164787 #871647 #478716
tetradic
#164787 #87167F #875616 #16871D
square
#164787 #87167F #875616 #16871D
split-complementary
#164787 #871D16 #7F8716
monochromatic
#05101E #0D2B52 #164787 #1F63BC #3981DF

Accessibility & contrast

On white

9.19
#164787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#164787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164787
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164787#FFFFFF#000000##FFFFFF
##1647871.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#064386
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #164787;
/* rgb */ color: rgb(22, 71, 135);
/* oklch */ color: oklch(40.3% 0.119 256.9);
Tailwind
colors: {
  custom: {
    50: '#6879aa',
    500: '#164787',
    950: '#000000',
  },
}
SCSS
$custom: #164787;
$custom-light: #6879aa;
$custom-dark: #000000;
JSON
{
  "hex": "#164787",
  "rgb": {
    "r": 22,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 213.982,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40307,
    "c": 0.119,
    "h": 256.9
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#164787
secondary
#BB853E
accent
#A039EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #164787

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

Preview Lab → · Contrast checker → · Palette generator →

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