#164792#164792

#164792 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.1% C 0.134 H 259.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#164792
RGBrgb(22, 71, 146)
HSLhsl(216, 74%, 33%)
HSVhsv(216, 85%, 57%)
CMYKcmyk(84.9%, 51.4%, 0%, 42.7%)
CIE-LABlab(31.23, 13.41, -45.87)
CIE-LCHlch(31.23, 47.79, 286.30°)
OKLaboklab(41.15% -0.0252 -0.1321)
OKLCHoklch(41.15% 0.134 259.2)
XYZxyz(7.7705, 6.7514, 28.0822)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164792 #926116
analogous
#168592 #164792 #231692
triadic
#164792 #921647 #479216
tetradic
#164792 #921685 #926116 #169223
square
#164792 #921685 #926116 #169223
split-complementary
#164792 #922316 #859216
monochromatic
#061328 #0E2D5D #164792 #1E61C7 #4080E2

Accessibility & contrast

On white

8.93
#164792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#164792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164792
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164792#FFFFFF#000000##FFFFFF
##1647921.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F95
Deuteranopia (green-blind)
#004491
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #164792;
/* rgb */ color: rgb(22, 71, 146);
/* oklch */ color: oklch(41.1% 0.134 259.2);
Tailwind
colors: {
  custom: {
    50: '#6a79b2',
    500: '#164792',
    950: '#000000',
  },
}
SCSS
$custom: #164792;
$custom-light: #6a79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#164792",
  "rgb": {
    "r": 22,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 216.29,
    "s": 73.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41148,
    "c": 0.13449,
    "h": 259.2
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#164792
secondary
#C38F41
accent
#A737F0
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080911
muted
#7A7B80

Preview Lab

Preview with #164792

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

Preview Lab → · Contrast checker → · Palette generator →

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