#162944#162944

#162944 is a dark, muted blue. Relative luminance 0.022; OKLCH L 28.0% C 0.056 H 257.3°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#162944
RGBrgb(22, 41, 68)
HSLhsl(215, 51%, 18%)
HSVhsv(215, 68%, 27%)
CMYKcmyk(67.6%, 39.7%, 0%, 73.3%)
CIE-LABlab(16.37, 2.23, -19.32)
CIE-LCHlch(16.37, 19.45, 276.60°)
OKLaboklab(27.96% -0.0123 -0.0547)
OKLCHoklch(27.96% 0.056 257.3)
XYZxyz(2.1668, 2.1736, 5.7731)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162944 #443116
analogous
#164044 #162944 #1A1644
triadic
#162944 #441629 #294416
tetradic
#162944 #441640 #443116 #16441A
square
#162944 #441640 #443116 #16441A
split-complementary
#162944 #441A16 #404416
monochromatic
#070E17 #070E17 #162944 #254572 #3461A0

Accessibility & contrast

On white

14.64
#162944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#162944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162944
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162944#FFFFFF#000000##FFFFFF
##1629441.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2B45
Deuteranopia (green-blind)
#182743
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #162944;
/* rgb */ color: rgb(22, 41, 68);
/* oklch */ color: oklch(28.0% 0.056 257.3);
Tailwind
colors: {
  custom: {
    50: '#586278',
    500: '#162944',
    950: '#000000',
  },
}
SCSS
$custom: #162944;
$custom-light: #586278;
$custom-dark: #000000;
JSON
{
  "hex": "#162944",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 68
  },
  "hsl": {
    "h": 215.217,
    "s": 51.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2796,
    "c": 0.05607,
    "h": 257.3
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#162944
secondary
#7B613A
accent
#A04DDB
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #162944

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

Preview Lab → · Contrast checker → · Palette generator →

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