#164987#164987

#164987 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.8% C 0.117 H 255.7°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#164987
RGBrgb(22, 73, 135)
HSLhsl(213, 72%, 31%)
HSVhsv(213, 84%, 53%)
CMYKcmyk(83.7%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.08, 7.51, -39.37)
CIE-LCHlch(31.08, 40.08, 280.80°)
OKLaboklab(40.78% -0.0287 -0.1129)
OKLCHoklch(40.78% 0.117 255.7)
XYZxyz(7.0850, 6.6841, 23.8337)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164987 #875416
analogous
#168187 #164987 #1B1687
triadic
#164987 #871649 #498716
tetradic
#164987 #871681 #875416 #16871B
square
#164987 #871681 #875416 #16871B
split-complementary
#164987 #871B16 #818716
monochromatic
#05101E #0D2D52 #164987 #1F65BC #3984DF

Accessibility & contrast

On white

8.99
#164987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#164987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164987
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164987#FFFFFF#000000##FFFFFF
##1649871.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#104486
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #164987;
/* rgb */ color: rgb(22, 73, 135);
/* oklch */ color: oklch(40.8% 0.117 255.7);
Tailwind
colors: {
  custom: {
    50: '#677baa',
    500: '#164987',
    950: '#000000',
  },
}
SCSS
$custom: #164987;
$custom-light: #677baa;
$custom-dark: #000000;
JSON
{
  "hex": "#164987",
  "rgb": {
    "r": 22,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 212.92,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40783,
    "c": 0.11653,
    "h": 255.7
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#164987
secondary
#BB823E
accent
#9D39EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #164987

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

Preview Lab → · Contrast checker → · Palette generator →

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