#164187#164187

#164187 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 38.9% C 0.127 H 259.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#164187
RGBrgb(22, 65, 135)
HSLhsl(217, 72%, 31%)
HSVhsv(217, 84%, 53%)
CMYKcmyk(83.7%, 51.9%, 0%, 47.1%)
CIE-LABlab(28.64, 13.02, -43.29)
CIE-LCHlch(28.64, 45.20, 286.74°)
OKLaboklab(38.91% -0.0222 -0.1246)
OKLCHoklch(38.91% 0.127 259.9)
XYZxyz(6.5928, 5.6996, 23.6696)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164187 #875C16
analogous
#167987 #164187 #231687
triadic
#164187 #871641 #418716
tetradic
#164187 #871679 #875C16 #168723
square
#164187 #871679 #875C16 #168723
split-complementary
#164187 #872316 #798716
monochromatic
#050E1E #0D2852 #164187 #1F5ABC #3978DF

Accessibility & contrast

On white

9.81
#164187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#164187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164187
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164187#FFFFFF#000000##FFFFFF
##1641871.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14498A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #164187;
/* rgb */ color: rgb(22, 65, 135);
/* oklch */ color: oklch(38.9% 0.127 259.9);
Tailwind
colors: {
  custom: {
    50: '#6875aa',
    500: '#164187',
    950: '#000000',
  },
}
SCSS
$custom: #164187;
$custom-light: #6875aa;
$custom-dark: #000000;
JSON
{
  "hex": "#164187",
  "rgb": {
    "r": 22,
    "g": 65,
    "b": 135
  },
  "hsl": {
    "h": 217.168,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.12661,
    "h": 259.9
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #164187

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

Preview Lab → · Contrast checker → · Palette generator →

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