#162A4A#162A4A

#162A4A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.064 H 259.4°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#162A4A
RGBrgb(22, 42, 74)
HSLhsl(217, 54%, 19%)
HSVhsv(217, 70%, 29%)
CMYKcmyk(70.3%, 43.2%, 0%, 71%)
CIE-LABlab(17.09, 3.96, -22.30)
CIE-LCHlch(17.09, 22.65, 280.06°)
OKLaboklab(28.64% -0.0119 -0.0634)
OKLCHoklch(28.64% 0.064 259.4)
XYZxyz(2.3944, 2.3207, 6.7990)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A4A #4A3616
analogous
#16444A #162A4A #1C164A
triadic
#162A4A #4A162A #2A4A16
tetradic
#162A4A #4A1644 #4A3616 #164A1C
square
#162A4A #4A1644 #4A3616 #164A1C
split-complementary
#162A4A #4A1C16 #444A16
monochromatic
#070D18 #080F1B #162A4A #244579 #3260A8

Accessibility & contrast

On white

14.34
#162A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#162A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A4A
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A4A#FFFFFF#000000##FFFFFF
##162A4A1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2D4B
Deuteranopia (green-blind)
#152849
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162a4a;
/* rgb */ color: rgb(22, 42, 74);
/* oklch */ color: oklch(28.6% 0.064 259.4);
Tailwind
colors: {
  custom: {
    50: '#59637d',
    500: '#162a4a',
    950: '#000000',
  },
}
SCSS
$custom: #162a4a;
$custom-light: #59637d;
$custom-dark: #000000;
JSON
{
  "hex": "#162a4a",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 216.923,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28638,
    "c": 0.06449,
    "h": 259.4
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#162A4A
secondary
#82663A
accent
#A54ADE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #162A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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