#164080#164080

#164080 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.118 H 259.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#164080
RGBrgb(22, 64, 128)
HSLhsl(216, 71%, 29%)
HSVhsv(216, 83%, 50%)
CMYKcmyk(82.8%, 50%, 0%, 49.8%)
CIE-LABlab(27.83, 10.81, -40.24)
CIE-LCHlch(27.83, 41.66, 285.03°)
OKLaboklab(38.13% -0.0225 -0.1157)
OKLCHoklch(38.13% 0.118 259)
XYZxyz(6.0591, 5.3952, 21.1399)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164080 #805616
analogous
#167580 #164080 #211680
triadic
#164080 #801640 #408016
tetradic
#164080 #801675 #805616 #168021
square
#164080 #801675 #805616 #168021
split-complementary
#164080 #802116 #758016
monochromatic
#040D1A #0D264C #164080 #1F5AB4 #3477DC

Accessibility & contrast

On white

10.10
#164080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#164080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164080
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164080#FFFFFF#000000##FFFFFF
##1640801.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4782
Deuteranopia (green-blind)
#003D7F
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #164080;
/* rgb */ color: rgb(22, 64, 128);
/* oklch */ color: oklch(38.1% 0.118 259.0);
Tailwind
colors: {
  custom: {
    50: '#6674a5',
    500: '#164080',
    950: '#000000',
  },
}
SCSS
$custom: #164080;
$custom-light: #6674a5;
$custom-dark: #000000;
JSON
{
  "hex": "#164080",
  "rgb": {
    "r": 22,
    "g": 64,
    "b": 128
  },
  "hsl": {
    "h": 216.226,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38125,
    "c": 0.11786,
    "h": 259
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#164080
secondary
#B5853D
accent
#A63AED
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #164080

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

Preview Lab → · Contrast checker → · Palette generator →

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