#164082#164082

#164082 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.121 H 259.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#164082
RGBrgb(22, 64, 130)
HSLhsl(217, 71%, 30%)
HSVhsv(217, 83%, 51%)
CMYKcmyk(83.1%, 50.8%, 0%, 49%)
CIE-LABlab(27.98, 11.64, -41.25)
CIE-LCHlch(27.98, 42.86, 285.75°)
OKLaboklab(38.28% -0.0222 -0.1187)
OKLCHoklch(38.28% 0.121 259.4)
XYZxyz(6.1921, 5.4483, 21.8400)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164082 #825816
analogous
#167682 #164082 #221682
triadic
#164082 #821640 #408216
tetradic
#164082 #821676 #825816 #168222
square
#164082 #821676 #825816 #168222
split-complementary
#164082 #822216 #768216
monochromatic
#040D1A #0D264E #164082 #1F5AB6 #3577DD

Accessibility & contrast

On white

10.05
#164082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#164082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164082
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164082#FFFFFF#000000##FFFFFF
##1640821.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194784
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #164082;
/* rgb */ color: rgb(22, 64, 130);
/* oklch */ color: oklch(38.3% 0.121 259.4);
Tailwind
colors: {
  custom: {
    50: '#6774a7',
    500: '#164082',
    950: '#000000',
  },
}
SCSS
$custom: #164082;
$custom-light: #6774a7;
$custom-dark: #000000;
JSON
{
  "hex": "#164082",
  "rgb": {
    "r": 22,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 216.667,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38281,
    "c": 0.12074,
    "h": 259.4
  },
  "luminance": 0.05449
}

Semantic roles & 50–950 ramp

primary
#164082
secondary
#B7873D
accent
#A83AEE
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #164082

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

Preview Lab → · Contrast checker → · Palette generator →

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