#162A49#162A49

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

Color values

HEX#162A49
RGBrgb(22, 42, 73)
HSLhsl(216, 54%, 19%)
HSVhsv(216, 70%, 29%)
CMYKcmyk(69.9%, 42.5%, 0%, 71.4%)
CIE-LABlab(17.02, 3.55, -21.72)
CIE-LCHlch(17.02, 22.01, 279.27°)
OKLaboklab(28.57% -0.0121 -0.0617)
OKLCHoklch(28.57% 0.063 258.9)
XYZxyz(2.3610, 2.3073, 6.6230)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A49 #493516
analogous
#164349 #162A49 #1B1649
triadic
#162A49 #49162A #2A4916
tetradic
#162A49 #491643 #493516 #16491B
square
#162A49 #491643 #493516 #16491B
split-complementary
#162A49 #491B16 #434916
monochromatic
#070E18 #080F1A #162A49 #244578 #3260A7

Accessibility & contrast

On white

14.37
#162A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162A49
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A49#FFFFFF#000000##FFFFFF
##162A491.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162a49;
/* rgb */ color: rgb(22, 42, 73);
/* oklch */ color: oklch(28.6% 0.063 258.9);
Tailwind
colors: {
  custom: {
    50: '#59637c',
    500: '#162a49',
    950: '#000000',
  },
}
SCSS
$custom: #162a49;
$custom-light: #59637c;
$custom-dark: #000000;
JSON
{
  "hex": "#162a49",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 73
  },
  "hsl": {
    "h": 216.471,
    "s": 53.684,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28568,
    "c": 0.06287,
    "h": 258.9
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#162A49
secondary
#80653A
accent
#A44BDD
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #162A49

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

Preview Lab → · Contrast checker → · Palette generator →

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