#164587#164587

#164587 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 39.8% C 0.122 H 257.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#164587
RGBrgb(22, 69, 135)
HSLhsl(215, 72%, 31%)
HSVhsv(215, 84%, 53%)
CMYKcmyk(83.7%, 48.9%, 0%, 47.1%)
CIE-LABlab(29.85, 10.25, -41.34)
CIE-LCHlch(29.85, 42.59, 283.92°)
OKLaboklab(39.84% -0.0254 -0.1188)
OKLCHoklch(39.84% 0.122 257.9)
XYZxyz(6.8306, 6.1753, 23.7489)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164587 #875816
analogous
#167D87 #164587 #1F1687
triadic
#164587 #871645 #458716
tetradic
#164587 #87167D #875816 #16871F
square
#164587 #87167D #875816 #16871F
split-complementary
#164587 #871F16 #7D8716
monochromatic
#050F1E #0D2A52 #164587 #1F60BC #397EDF

Accessibility & contrast

On white

9.40
#164587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#164587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164587
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164587#FFFFFF#000000##FFFFFF
##1645871.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C89
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #164587;
/* rgb */ color: rgb(22, 69, 135);
/* oklch */ color: oklch(39.8% 0.122 257.9);
Tailwind
colors: {
  custom: {
    50: '#6878aa',
    500: '#164587',
    950: '#000000',
  },
}
SCSS
$custom: #164587;
$custom-light: #6878aa;
$custom-dark: #000000;
JSON
{
  "hex": "#164587",
  "rgb": {
    "r": 22,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 215.044,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39835,
    "c": 0.12151,
    "h": 257.9
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#164587
secondary
#BB873E
accent
#A339EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #164587

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

Preview Lab → · Contrast checker → · Palette generator →

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