#164087#164087

#164087 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.7% C 0.128 H 260.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#164087
RGBrgb(22, 64, 135)
HSLhsl(218, 72%, 31%)
HSVhsv(218, 84%, 53%)
CMYKcmyk(83.7%, 52.6%, 0%, 47.1%)
CIE-LABlab(28.34, 13.71, -43.77)
CIE-LCHlch(28.34, 45.87, 287.40°)
OKLaboklab(38.68% -0.0215 -0.1261)
OKLCHoklch(38.68% 0.128 260.3)
XYZxyz(6.5359, 5.5858, 23.6507)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164087 #875D16
analogous
#167887 #164087 #241687
triadic
#164087 #871640 #408716
tetradic
#164087 #871678 #875D16 #168724
square
#164087 #871678 #875D16 #168724
split-complementary
#164087 #872416 #788716
monochromatic
#050E1E #0D2752 #164087 #1F59BC #3976DF

Accessibility & contrast

On white

9.92
#164087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#164087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164087
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164087#FFFFFF#000000##FFFFFF
##1640871.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11488A
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #164087;
/* rgb */ color: rgb(22, 64, 135);
/* oklch */ color: oklch(38.7% 0.128 260.3);
Tailwind
colors: {
  custom: {
    50: '#6874aa',
    500: '#164087',
    950: '#000000',
  },
}
SCSS
$custom: #164087;
$custom-light: #6874aa;
$custom-dark: #000000;
JSON
{
  "hex": "#164087",
  "rgb": {
    "r": 22,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 217.699,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38679,
    "c": 0.1279,
    "h": 260.3
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #164087

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

Preview Lab → · Contrast checker → · Palette generator →

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