#162B4C#162B4C

#162B4C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.066 H 259.1°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#162B4C
RGBrgb(22, 43, 76)
HSLhsl(217, 55%, 19%)
HSVhsv(217, 71%, 30%)
CMYKcmyk(71.1%, 43.4%, 0%, 70.2%)
CIE-LABlab(17.55, 4.05, -22.92)
CIE-LCHlch(17.55, 23.28, 280.02°)
OKLaboklab(29.04% -0.0125 -0.0652)
OKLCHoklch(29.04% 0.066 259.1)
XYZxyz(2.4988, 2.4199, 7.1715)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B4C #4C3716
analogous
#16464C #162B4C #1C164C
triadic
#162B4C #4C162B #2B4C16
tetradic
#162B4C #4C1646 #4C3716 #164C1C
square
#162B4C #4C1646 #4C3716 #164C1C
split-complementary
#162B4C #4C1C16 #464C16
monochromatic
#070D18 #08101D #162B4C #24467B #3161AB

Accessibility & contrast

On white

14.15
#162B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#162B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B4C
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B4C#FFFFFF#000000##FFFFFF
##162B4C1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4D
Deuteranopia (green-blind)
#15294B
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162b4c;
/* rgb */ color: rgb(22, 43, 76);
/* oklch */ color: oklch(29.0% 0.066 259.1);
Tailwind
colors: {
  custom: {
    50: '#5a637e',
    500: '#162b4c',
    950: '#000000',
  },
}
SCSS
$custom: #162b4c;
$custom-light: #5a637e;
$custom-dark: #000000;
JSON
{
  "hex": "#162b4c",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 76
  },
  "hsl": {
    "h": 216.667,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2904,
    "c": 0.0664,
    "h": 259.1
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#162B4C
secondary
#84673A
accent
#A449DE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #162B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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