#164188#164188

#164188 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.128 H 260.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#164188
RGBrgb(22, 65, 136)
HSLhsl(217, 72%, 31%)
HSVhsv(217, 84%, 53%)
CMYKcmyk(83.8%, 52.2%, 0%, 46.7%)
CIE-LABlab(28.72, 13.43, -43.79)
CIE-LCHlch(28.72, 45.80, 287.05°)
OKLaboklab(38.99% -0.0221 -0.1261)
OKLCHoklch(38.99% 0.128 260.1)
XYZxyz(6.6635, 5.7279, 24.0422)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164188 #885D16
analogous
#167A88 #164188 #241688
triadic
#164188 #881641 #418816
tetradic
#164188 #88167A #885D16 #168824
square
#164188 #88167A #885D16 #168824
split-complementary
#164188 #882416 #7A8816
monochromatic
#050F1F #0D2853 #164188 #1F5ABD #3978DF

Accessibility & contrast

On white

9.79
#164188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#164188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164188
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164188#FFFFFF#000000##FFFFFF
##1641881.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #164188;
/* rgb */ color: rgb(22, 65, 136);
/* oklch */ color: oklch(39.0% 0.128 260.1);
Tailwind
colors: {
  custom: {
    50: '#6875ab',
    500: '#164188',
    950: '#000000',
  },
}
SCSS
$custom: #164188;
$custom-light: #6875ab;
$custom-dark: #000000;
JSON
{
  "hex": "#164188",
  "rgb": {
    "r": 22,
    "g": 65,
    "b": 136
  },
  "hsl": {
    "h": 217.368,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38987,
    "c": 0.12804,
    "h": 260.1
  },
  "luminance": 0.05729
}

Semantic roles & 50–950 ramp

primary
#164188
secondary
#BC8C3E
accent
#AA39EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #164188

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

Preview Lab → · Contrast checker → · Palette generator →

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