#164189#164189

#164189 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.129 H 260.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#164189
RGBrgb(22, 65, 137)
HSLhsl(218, 72%, 31%)
HSVhsv(218, 84%, 54%)
CMYKcmyk(83.9%, 52.6%, 0%, 46.3%)
CIE-LABlab(28.79, 13.84, -44.29)
CIE-LCHlch(28.79, 46.40, 287.36°)
OKLaboklab(39.07% -0.0219 -0.1276)
OKLCHoklch(39.07% 0.129 260.2)
XYZxyz(6.7349, 5.7565, 24.4182)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164189 #895E16
analogous
#167A89 #164189 #241689
triadic
#164189 #891641 #418916
tetradic
#164189 #89167A #895E16 #168924
square
#164189 #89167A #895E16 #168924
split-complementary
#164189 #892416 #7A8916
monochromatic
#050F20 #0E2854 #164189 #1E5ABE #3A78DF

Accessibility & contrast

On white

9.76
#164189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #164189
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164189#FFFFFF#000000##FFFFFF
##1641891.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498C
Deuteranopia (green-blind)
#003F88
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #164189;
/* rgb */ color: rgb(22, 65, 137);
/* oklch */ color: oklch(39.1% 0.129 260.2);
Tailwind
colors: {
  custom: {
    50: '#6875ac',
    500: '#164189',
    950: '#000000',
  },
}
SCSS
$custom: #164189;
$custom-light: #6875ac;
$custom-dark: #000000;
JSON
{
  "hex": "#164189",
  "rgb": {
    "r": 22,
    "g": 65,
    "b": 137
  },
  "hsl": {
    "h": 217.565,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39068,
    "c": 0.12946,
    "h": 260.2
  },
  "luminance": 0.05757
}

Semantic roles & 50–950 ramp

primary
#164189
secondary
#BD8D3E
accent
#AB39EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #164189

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

Preview Lab → · Contrast checker → · Palette generator →

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