#162C4E#162C4E

#162C4E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.068 H 258.8°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#162C4E
RGBrgb(22, 44, 78)
HSLhsl(216, 56%, 20%)
HSVhsv(216, 72%, 31%)
CMYKcmyk(71.8%, 43.6%, 0%, 69.4%)
CIE-LABlab(18.02, 4.15, -23.54)
CIE-LCHlch(18.02, 23.90, 280.00°)
OKLaboklab(29.44% -0.0132 -0.067)
OKLCHoklch(29.44% 0.068 258.8)
XYZxyz(2.6062, 2.5217, 7.5556)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C4E #4E3816
analogous
#16484E #162C4E #1C164E
triadic
#162C4E #4E162C #2C4E16
tetradic
#162C4E #4E1648 #4E3816 #164E1C
square
#162C4E #4E1648 #4E3816 #164E1C
split-complementary
#162C4E #4E1C16 #484E16
monochromatic
#070D18 #09111E #162C4E #23477E #3162AD

Accessibility & contrast

On white

13.96
#162C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C4E
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C4E#FFFFFF#000000##FFFFFF
##162C4E1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#152A4D
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162c4e;
/* rgb */ color: rgb(22, 44, 78);
/* oklch */ color: oklch(29.4% 0.068 258.8);
Tailwind
colors: {
  custom: {
    50: '#5a6480',
    500: '#162c4e',
    950: '#000000',
  },
}
SCSS
$custom: #162c4e;
$custom-light: #5a6480;
$custom-dark: #000000;
JSON
{
  "hex": "#162c4e",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 216.429,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29443,
    "c": 0.06828,
    "h": 258.8
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#162C4E
secondary
#85683A
accent
#A449DF
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #162C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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