#162C4F#162C4F

#162C4F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.070 H 259.3°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#162C4F
RGBrgb(22, 44, 79)
HSLhsl(217, 56%, 20%)
HSVhsv(217, 72%, 31%)
CMYKcmyk(72.2%, 44.3%, 0%, 69%)
CIE-LABlab(18.08, 4.56, -24.11)
CIE-LCHlch(18.08, 24.54, 280.72°)
OKLaboklab(29.51% -0.013 -0.0687)
OKLCHoklch(29.51% 0.07 259.3)
XYZxyz(2.6423, 2.5362, 7.7459)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C4F #4F3916
analogous
#16494F #162C4F #1C164F
triadic
#162C4F #4F162C #2C4F16
tetradic
#162C4F #4F1649 #4F3916 #164F1C
square
#162C4F #4F1649 #4F3916 #164F1C
split-complementary
#162C4F #4F1C16 #494F16
monochromatic
#070D18 #09111F #162C4F #23477F #3161AF

Accessibility & contrast

On white

13.93
#162C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#162C4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C4F
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C4F#FFFFFF#000000##FFFFFF
##162C4F1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F50
Deuteranopia (green-blind)
#142A4E
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162c4f;
/* rgb */ color: rgb(22, 44, 79);
/* oklch */ color: oklch(29.5% 0.070 259.3);
Tailwind
colors: {
  custom: {
    50: '#5a6480',
    500: '#162c4f',
    950: '#000000',
  },
}
SCSS
$custom: #162c4f;
$custom-light: #5a6480;
$custom-dark: #000000;
JSON
{
  "hex": "#162c4f",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 79
  },
  "hsl": {
    "h": 216.842,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29514,
    "c": 0.06988,
    "h": 259.3
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#162C4F
secondary
#86693A
accent
#A548E0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #162C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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