#164186#164186

#164186 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.8% C 0.125 H 259.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#164186
RGBrgb(22, 65, 134)
HSLhsl(217, 72%, 31%)
HSVhsv(217, 84%, 53%)
CMYKcmyk(83.6%, 51.5%, 0%, 47.5%)
CIE-LABlab(28.57, 12.60, -42.79)
CIE-LCHlch(28.57, 44.60, 286.41°)
OKLaboklab(38.83% -0.0224 -0.1232)
OKLCHoklch(38.83% 0.125 259.7)
XYZxyz(6.5227, 5.6716, 23.3006)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164186 #865B16
analogous
#167986 #164186 #231686
triadic
#164186 #861641 #418616
tetradic
#164186 #861679 #865B16 #168623
square
#164186 #861679 #865B16 #168623
split-complementary
#164186 #862316 #798616
monochromatic
#050E1D #0D2751 #164186 #1F5BBB #3878DE

Accessibility & contrast

On white

9.84
#164186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#164186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164186
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164186#FFFFFF#000000##FFFFFF
##1641861.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164989
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #164186;
/* rgb */ color: rgb(22, 65, 134);
/* oklch */ color: oklch(38.8% 0.125 259.7);
Tailwind
colors: {
  custom: {
    50: '#6875aa',
    500: '#164186',
    950: '#000000',
  },
}
SCSS
$custom: #164186;
$custom-light: #6875aa;
$custom-dark: #000000;
JSON
{
  "hex": "#164186",
  "rgb": {
    "r": 22,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 216.964,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38828,
    "c": 0.12519,
    "h": 259.7
  },
  "luminance": 0.05672
}

Semantic roles & 50–950 ramp

primary
#164186
secondary
#BA8A3E
accent
#A939EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #164186

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

Preview Lab → · Contrast checker → · Palette generator →

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