#162C4C#162C4C

#162C4C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.065 H 257.8°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#162C4C
RGBrgb(22, 44, 76)
HSLhsl(216, 55%, 19%)
HSVhsv(216, 71%, 30%)
CMYKcmyk(71.1%, 42.1%, 0%, 70.2%)
CIE-LABlab(17.89, 3.33, -22.39)
CIE-LCHlch(17.89, 22.63, 278.45°)
OKLaboklab(29.3% -0.0138 -0.0636)
OKLCHoklch(29.3% 0.065 257.8)
XYZxyz(2.5356, 2.4935, 7.1837)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C4C #4C3616
analogous
#16474C #162C4C #1B164C
triadic
#162C4C #4C162C #2C4C16
tetradic
#162C4C #4C1647 #4C3616 #164C1B
square
#162C4C #4C1647 #4C3616 #164C1B
split-complementary
#162C4C #4C1B16 #474C16
monochromatic
#070E18 #08111D #162C4C #24477B #3163AB

Accessibility & contrast

On white

14.01
#162C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C4C
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C4C#FFFFFF#000000##FFFFFF
##162C4C1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4D
Deuteranopia (green-blind)
#16294B
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162c4c;
/* rgb */ color: rgb(22, 44, 76);
/* oklch */ color: oklch(29.3% 0.065 257.8);
Tailwind
colors: {
  custom: {
    50: '#5a647e',
    500: '#162c4c',
    950: '#000000',
  },
}
SCSS
$custom: #162c4c;
$custom-light: #5a647e;
$custom-dark: #000000;
JSON
{
  "hex": "#162c4c",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 76
  },
  "hsl": {
    "h": 215.556,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29302,
    "c": 0.06509,
    "h": 257.8
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#162C4C
secondary
#84663A
accent
#A249DE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #162C4C

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

Preview Lab → · Contrast checker → · Palette generator →

#162C4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva