#164C9F#164C9F

#164C9F is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.146 H 259.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#164C9F
RGBrgb(22, 76, 159)
HSLhsl(216, 76%, 35%)
HSVhsv(216, 86%, 62%)
CMYKcmyk(86.2%, 52.2%, 0%, 37.6%)
CIE-LABlab(33.65, 15.32, -49.85)
CIE-LCHlch(33.65, 52.15, 287.08°)
OKLaboklab(43.3% -0.027 -0.1437)
OKLCHoklch(43.3% 0.146 259.4)
XYZxyz(9.1710, 7.8415, 33.8244)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164C9F #9F6916
analogous
#16919F #164C9F #24169F
triadic
#164C9F #9F164C #4C9F16
tetradic
#164C9F #9F1691 #9F6916 #169F24
square
#164C9F #9F1691 #9F6916 #169F24
split-complementary
#164C9F #9F2416 #919F16
monochromatic
#071933 #0F3269 #164C9F #1D66D5 #4A87E6

Accessibility & contrast

On white

8.18
#164C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#164C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164C9F
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164C9F#FFFFFF#000000##FFFFFF
##164C9F1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #164c9f;
/* rgb */ color: rgb(22, 76, 159);
/* oklch */ color: oklch(43.3% 0.146 259.4);
Tailwind
colors: {
  custom: {
    50: '#6e7dbc',
    500: '#164c9f',
    950: '#000000',
  },
}
SCSS
$custom: #164c9f;
$custom-light: #6e7dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#164c9f",
  "rgb": {
    "r": 22,
    "g": 76,
    "b": 159
  },
  "hsl": {
    "h": 216.35,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43299,
    "c": 0.14622,
    "h": 259.4
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#164C9F
secondary
#C7964A
accent
#A836F2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080912
muted
#7B7B81

Preview Lab

Preview with #164C9F

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

Preview Lab → · Contrast checker → · Palette generator →

#164C9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva