#164793#164793

#164793 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.136 H 259.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#164793
RGBrgb(22, 71, 147)
HSLhsl(216, 74%, 33%)
HSVhsv(216, 85%, 58%)
CMYKcmyk(85%, 51.7%, 0%, 42.4%)
CIE-LABlab(31.31, 13.82, -46.36)
CIE-LCHlch(31.31, 48.38, 286.60°)
OKLaboklab(41.23% -0.025 -0.1336)
OKLCHoklch(41.23% 0.136 259.4)
XYZxyz(7.8486, 6.7827, 28.4936)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164793 #936216
analogous
#168593 #164793 #241693
triadic
#164793 #931647 #479316
tetradic
#164793 #931685 #936216 #169324
square
#164793 #931685 #936216 #169324
split-complementary
#164793 #932416 #859316
monochromatic
#061429 #0E2D5E #164793 #1E61C8 #4180E3

Accessibility & contrast

On white

8.91
#164793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #164793
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164793#FFFFFF#000000##FFFFFF
##1647931.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165096
Deuteranopia (green-blind)
#004492
Tritanopia (blue-blind)
#005A66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #164793;
/* rgb */ color: rgb(22, 71, 147);
/* oklch */ color: oklch(41.2% 0.136 259.4);
Tailwind
colors: {
  custom: {
    50: '#6b79b3',
    500: '#164793',
    950: '#000000',
  },
}
SCSS
$custom: #164793;
$custom-light: #6b79b3;
$custom-dark: #000000;
JSON
{
  "hex": "#164793",
  "rgb": {
    "r": 22,
    "g": 71,
    "b": 147
  },
  "hsl": {
    "h": 216.48,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41227,
    "c": 0.13589,
    "h": 259.4
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#164793
secondary
#C39042
accent
#A837F1
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080911
muted
#7A7B80

Preview Lab

Preview with #164793

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

Preview Lab → · Contrast checker → · Palette generator →

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