#164699#164699

#164699 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.146 H 260.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#164699
RGBrgb(22, 70, 153)
HSLhsl(218, 75%, 34%)
HSVhsv(218, 86%, 60%)
CMYKcmyk(85.6%, 54.2%, 0%, 40%)
CIE-LABlab(31.46, 16.97, -49.76)
CIE-LCHlch(31.46, 52.58, 288.83°)
OKLaboklab(41.49% -0.0236 -0.1436)
OKLCHoklch(41.49% 0.146 260.7)
XYZxyz(8.2687, 6.8498, 31.0171)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164699 #996916
analogous
#168899 #164699 #271699
triadic
#164699 #991646 #469916
tetradic
#164699 #991688 #996916 #169927
square
#164699 #991688 #996916 #169927
split-complementary
#164699 #992716 #889916
monochromatic
#07152E #0E2E63 #164699 #1E5ECF #457FE4

Accessibility & contrast

On white

8.86
#164699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#164699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164699
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164699#FFFFFF#000000##FFFFFF
##1646991.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #164699;
/* rgb */ color: rgb(22, 70, 153);
/* oklch */ color: oklch(41.5% 0.146 260.7);
Tailwind
colors: {
  custom: {
    50: '#6c78b8',
    500: '#164699',
    950: '#000000',
  },
}
SCSS
$custom: #164699;
$custom-light: #6c78b8;
$custom-dark: #000000;
JSON
{
  "hex": "#164699",
  "rgb": {
    "r": 22,
    "g": 70,
    "b": 153
  },
  "hsl": {
    "h": 218.015,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41488,
    "c": 0.14551,
    "h": 260.7
  },
  "luminance": 0.06851
}

Semantic roles & 50–950 ramp

primary
#164699
secondary
#C59646
accent
#AD36F1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #164699

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

Preview Lab → · Contrast checker → · Palette generator →

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