#162844#162844

#162844 is a dark, muted blue. Relative luminance 0.021; OKLCH L 27.7% C 0.057 H 258.9°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#162844
RGBrgb(22, 40, 68)
HSLhsl(217, 51%, 18%)
HSVhsv(217, 68%, 27%)
CMYKcmyk(67.6%, 41.2%, 0%, 73.3%)
CIE-LABlab(16.03, 2.96, -19.86)
CIE-LCHlch(16.03, 20.08, 278.49°)
OKLaboklab(27.69% -0.011 -0.0563)
OKLCHoklch(27.69% 0.057 258.9)
XYZxyz(2.1327, 2.1053, 5.7617)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162844 #443216
analogous
#163F44 #162844 #1B1644
triadic
#162844 #441628 #284416
tetradic
#162844 #44163F #443216 #16441B
square
#162844 #44163F #443216 #16441B
split-complementary
#162844 #441B16 #3F4416
monochromatic
#070E17 #070E17 #162844 #254372 #345EA0

Accessibility & contrast

On white

14.78
#162844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#162844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162844
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162844#FFFFFF#000000##FFFFFF
##1628441.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2A45
Deuteranopia (green-blind)
#162643
Tritanopia (blue-blind)
#002E32
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #162844;
/* rgb */ color: rgb(22, 40, 68);
/* oklch */ color: oklch(27.7% 0.057 258.9);
Tailwind
colors: {
  custom: {
    50: '#586178',
    500: '#162844',
    950: '#000000',
  },
}
SCSS
$custom: #162844;
$custom-light: #586178;
$custom-dark: #000000;
JSON
{
  "hex": "#162844",
  "rgb": {
    "r": 22,
    "g": 40,
    "b": 68
  },
  "hsl": {
    "h": 216.522,
    "s": 51.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27693,
    "c": 0.05736,
    "h": 258.9
  },
  "luminance": 0.02106
}

Semantic roles & 50–950 ramp

primary
#162844
secondary
#7B623A
accent
#A34DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030509
muted
#78797B

Preview Lab

Preview with #162844

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

Preview Lab → · Contrast checker → · Palette generator →

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