#164790#164790

#164790 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.0% C 0.132 H 258.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#164790
RGBrgb(22, 71, 144)
HSLhsl(216, 73%, 33%)
HSVhsv(216, 85%, 56%)
CMYKcmyk(84.7%, 50.7%, 0%, 43.5%)
CIE-LABlab(31.09, 12.59, -44.88)
CIE-LCHlch(31.09, 46.61, 285.67°)
OKLaboklab(40.99% -0.0255 -0.1292)
OKLCHoklch(40.99% 0.132 258.8)
XYZxyz(7.6163, 6.6897, 27.2700)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164790 #905F16
analogous
#168490 #164790 #221690
triadic
#164790 #901647 #479016
tetradic
#164790 #901684 #905F16 #169022
square
#164790 #901684 #905F16 #169022
split-complementary
#164790 #902216 #849016
monochromatic
#061326 #0E2D5B #164790 #1E61C5 #3F80E2

Accessibility & contrast

On white

8.98
#164790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#164790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164790
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164790#FFFFFF#000000##FFFFFF
##1647901.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F93
Deuteranopia (green-blind)
#00448F
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #164790;
/* rgb */ color: rgb(22, 71, 144);
/* oklch */ color: oklch(41.0% 0.132 258.8);
Tailwind
colors: {
  custom: {
    50: '#6a79b1',
    500: '#164790',
    950: '#000000',
  },
}
SCSS
$custom: #164790;
$custom-light: #6a79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#164790",
  "rgb": {
    "r": 22,
    "g": 71,
    "b": 144
  },
  "hsl": {
    "h": 215.902,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40992,
    "c": 0.13168,
    "h": 258.8
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#164790
secondary
#C28E40
accent
#A638F0
background
#F6F7FB
surface
#ECEDF6
border
#C7C8D0
text
#080911
muted
#7A7B80

Preview Lab

Preview with #164790

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

Preview Lab → · Contrast checker → · Palette generator →

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