#164386#164386

#164386 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.123 H 258.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#164386
RGBrgb(22, 67, 134)
HSLhsl(216, 72%, 31%)
HSVhsv(216, 84%, 53%)
CMYKcmyk(83.6%, 50%, 0%, 47.5%)
CIE-LABlab(29.17, 11.21, -41.81)
CIE-LCHlch(29.17, 43.29, 285.01°)
OKLaboklab(39.29% -0.024 -0.1203)
OKLCHoklch(39.29% 0.123 258.7)
XYZxyz(6.6395, 5.9053, 23.3395)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164386 #865916
analogous
#167B86 #164386 #211686
triadic
#164386 #861643 #438616
tetradic
#164386 #86167B #865916 #168621
square
#164386 #86167B #865916 #168621
split-complementary
#164386 #862116 #7B8616
monochromatic
#050E1D #0D2951 #164386 #1F5DBB #387BDE

Accessibility & contrast

On white

9.63
#164386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#164386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164386
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164386#FFFFFF#000000##FFFFFF
##1643861.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4A88
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #164386;
/* rgb */ color: rgb(22, 67, 134);
/* oklch */ color: oklch(39.3% 0.123 258.7);
Tailwind
colors: {
  custom: {
    50: '#6776aa',
    500: '#164386',
    950: '#000000',
  },
}
SCSS
$custom: #164386;
$custom-light: #6776aa;
$custom-dark: #000000;
JSON
{
  "hex": "#164386",
  "rgb": {
    "r": 22,
    "g": 67,
    "b": 134
  },
  "hsl": {
    "h": 215.893,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39291,
    "c": 0.12263,
    "h": 258.7
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#164386
secondary
#BA883E
accent
#A639EF
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #164386

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

Preview Lab → · Contrast checker → · Palette generator →

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