#164289#164289

#164289 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.3% C 0.128 H 259.8°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#164289
RGBrgb(22, 66, 137)
HSLhsl(217, 72%, 31%)
HSVhsv(217, 84%, 54%)
CMYKcmyk(83.9%, 51.8%, 0%, 46.3%)
CIE-LABlab(29.09, 13.15, -43.80)
CIE-LCHlch(29.09, 45.74, 286.71°)
OKLaboklab(39.3% -0.0227 -0.1261)
OKLCHoklch(39.3% 0.128 259.8)
XYZxyz(6.7928, 5.8723, 24.4375)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#164289 #895D16
analogous
#167B89 #164289 #231689
triadic
#164289 #891642 #428916
tetradic
#164289 #89167B #895D16 #168923
square
#164289 #89167B #895D16 #168923
split-complementary
#164289 #892316 #7B8916
monochromatic
#050F20 #0E2954 #164289 #1E5BBE #3A79DF

Accessibility & contrast

On white

9.66
#164289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#164289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #164289
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##164289#FFFFFF#000000##FFFFFF
##1642891.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8C
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #164289;
/* rgb */ color: rgb(22, 66, 137);
/* oklch */ color: oklch(39.3% 0.128 259.8);
Tailwind
colors: {
  custom: {
    50: '#6875ac',
    500: '#164289',
    950: '#000000',
  },
}
SCSS
$custom: #164289;
$custom-light: #6875ac;
$custom-dark: #000000;
JSON
{
  "hex": "#164289",
  "rgb": {
    "r": 22,
    "g": 66,
    "b": 137
  },
  "hsl": {
    "h": 217.043,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.39296,
    "c": 0.12817,
    "h": 259.8
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#164289
secondary
#BD8C3E
accent
#A939EF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #164289

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

Preview Lab → · Contrast checker → · Palette generator →

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