#164698#164698

#164698 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.144 H 260.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#164698
RGBrgb(22, 70, 152)
HSLhsl(218, 75%, 34%)
HSVhsv(218, 86%, 60%)
CMYKcmyk(85.5%, 53.9%, 0%, 40.4%)
CIE-LABlab(31.39, 16.56, -49.28)
CIE-LCHlch(31.39, 51.99, 288.57°)
OKLaboklab(41.41% -0.0237 -0.1422)
OKLCHoklch(41.41% 0.144 260.5)
XYZxyz(8.1865, 6.8169, 30.5840)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164698 #986816
analogous
#168798 #164698 #271698
triadic
#164698 #981646 #469816
tetradic
#164698 #981687 #986816 #169827
square
#164698 #981687 #986816 #169827
split-complementary
#164698 #982716 #879816
monochromatic
#07152D #0E2D63 #164698 #1E5FCD #447FE4

Accessibility & contrast

On white

8.88
#164698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#164698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164698
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164698#FFFFFF#000000##FFFFFF
##1646981.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04509B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #164698;
/* rgb */ color: rgb(22, 70, 152);
/* oklch */ color: oklch(41.4% 0.144 260.5);
Tailwind
colors: {
  custom: {
    50: '#6c78b7',
    500: '#164698',
    950: '#000000',
  },
}
SCSS
$custom: #164698;
$custom-light: #6c78b7;
$custom-dark: #000000;
JSON
{
  "hex": "#164698",
  "rgb": {
    "r": 22,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 217.846,
    "s": 74.713,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41406,
    "c": 0.14413,
    "h": 260.5
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#164698
secondary
#C59645
accent
#AC36F1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #164698

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

Preview Lab → · Contrast checker → · Palette generator →

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