#164887#164887

#164887 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.5% C 0.118 H 256.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#164887
RGBrgb(22, 72, 135)
HSLhsl(213, 72%, 31%)
HSVhsv(213, 84%, 53%)
CMYKcmyk(83.7%, 46.7%, 0%, 47.1%)
CIE-LABlab(30.77, 8.19, -39.86)
CIE-LCHlch(30.77, 40.69, 281.61°)
OKLaboklab(40.54% -0.0279 -0.1144)
OKLCHoklch(40.54% 0.118 256.3)
XYZxyz(7.0198, 6.5537, 23.8120)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164887 #875516
analogous
#168087 #164887 #1C1687
triadic
#164887 #871648 #488716
tetradic
#164887 #871680 #875516 #16871C
square
#164887 #871680 #875516 #16871C
split-complementary
#164887 #871C16 #808716
monochromatic
#05101E #0D2C52 #164887 #1F64BC #3982DF

Accessibility & contrast

On white

9.09
#164887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#164887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164887
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164887#FFFFFF#000000##FFFFFF
##1648871.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E89
Deuteranopia (green-blind)
#0B4486
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #164887;
/* rgb */ color: rgb(22, 72, 135);
/* oklch */ color: oklch(40.5% 0.118 256.3);
Tailwind
colors: {
  custom: {
    50: '#687aaa',
    500: '#164887',
    950: '#000000',
  },
}
SCSS
$custom: #164887;
$custom-light: #687aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#164887",
  "rgb": {
    "r": 22,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 213.451,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40544,
    "c": 0.11776,
    "h": 256.3
  },
  "luminance": 0.06555
}

Semantic roles & 50–950 ramp

primary
#164887
secondary
#BB843E
accent
#9E39EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #164887

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

Preview Lab → · Contrast checker → · Palette generator →

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