#165787#165787

#165787 is a dark, moderate cyan. Relative luminance 0.087; OKLCH L 44.2% C 0.101 H 245.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#165787
RGBrgb(22, 87, 135)
HSLhsl(205, 72%, 31%)
HSVhsv(205, 84%, 53%)
CMYKcmyk(83.7%, 35.6%, 0%, 47.1%)
CIE-LABlab(35.47, -1.72, -32.37)
CIE-LCHlch(35.47, 32.41, 266.95°)
OKLaboklab(44.22% -0.0413 -0.0921)
OKLCHoklch(44.22% 0.101 245.9)
XYZxyz(8.1105, 8.7352, 24.1756)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165787 #874616
analogous
#16877E #165787 #161E87
triadic
#165787 #871657 #578716
tetradic
#165787 #7E1687 #874616 #1E8716
square
#165787 #7E1687 #874616 #1E8716
split-complementary
#165787 #87161E #877E16
monochromatic
#05131E #0D3552 #165787 #1F79BC #3998DF

Accessibility & contrast

On white

7.64
#165787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#165787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165787
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165787#FFFFFF#000000##FFFFFF
##1657871.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405989
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #165787;
/* rgb */ color: rgb(22, 87, 135);
/* oklch */ color: oklch(44.2% 0.101 245.9);
Tailwind
colors: {
  custom: {
    50: '#6886aa',
    500: '#165787',
    950: '#000000',
  },
}
SCSS
$custom: #165787;
$custom-light: #6886aa;
$custom-dark: #000000;
JSON
{
  "hex": "#165787",
  "rgb": {
    "r": 22,
    "g": 87,
    "b": 135
  },
  "hsl": {
    "h": 205.487,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.44217,
    "c": 0.10094,
    "h": 245.9
  },
  "luminance": 0.08736
}

Semantic roles & 50–950 ramp

primary
#165787
secondary
#BB733E
accent
#8639EF
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B10
muted
#7A7C7F

Preview Lab

Preview with #165787

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

Preview Lab → · Contrast checker → · Palette generator →

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