#165781#165781

#165781 is a dark, moderate cyan. Relative luminance 0.086; OKLCH L 43.9% C 0.093 H 242.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#165781
RGBrgb(22, 87, 129)
HSLhsl(204, 71%, 30%)
HSVhsv(204, 83%, 51%)
CMYKcmyk(82.9%, 32.6%, 0%, 49.4%)
CIE-LABlab(35.14, -4.10, -29.20)
CIE-LCHlch(35.14, 29.49, 262.00°)
OKLaboklab(43.85% -0.0432 -0.0829)
OKLCHoklch(43.85% 0.093 242.5)
XYZxyz(7.7000, 8.5710, 22.0132)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#165781 #814016
analogous
#168175 #165781 #162281
triadic
#165781 #811657 #578116
tetradic
#165781 #751681 #814016 #228116
square
#165781 #751681 #814016 #228116
split-complementary
#165781 #811622 #817516
monochromatic
#04121A #0D344D #165781 #1F7AB5 #359BDD

Accessibility & contrast

On white

7.74
#165781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#165781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #165781
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##165781#FFFFFF#000000##FFFFFF
##1657811.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#344E80
Tritanopia (blue-blind)
#006166
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #165781;
/* rgb */ color: rgb(22, 87, 129);
/* oklch */ color: oklch(43.9% 0.093 242.5);
Tailwind
colors: {
  custom: {
    50: '#6686a6',
    500: '#165781',
    950: '#000000',
  },
}
SCSS
$custom: #165781;
$custom-light: #6686a6;
$custom-dark: #000000;
JSON
{
  "hex": "#165781",
  "rgb": {
    "r": 22,
    "g": 87,
    "b": 129
  },
  "hsl": {
    "h": 203.551,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.09344,
    "h": 242.5
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#165781
secondary
#B66C3D
accent
#813AEE
background
#F6F8FA
surface
#EBEFF4
border
#C6CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #165781

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

Preview Lab → · Contrast checker → · Palette generator →

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