#162A46#162A46

#162A46 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.4% C 0.058 H 257.0°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#162A46
RGBrgb(22, 42, 70)
HSLhsl(215, 52%, 18%)
HSVhsv(215, 69%, 27%)
CMYKcmyk(68.6%, 40%, 0%, 72.5%)
CIE-LABlab(16.84, 2.32, -19.96)
CIE-LCHlch(16.84, 20.09, 276.63°)
OKLaboklab(28.36% -0.013 -0.0566)
OKLCHoklch(28.36% 0.058 257)
XYZxyz(2.2639, 2.2685, 6.1117)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A46 #463216
analogous
#164246 #162A46 #1A1646
triadic
#162A46 #46162A #2A4616
tetradic
#162A46 #461642 #463216 #16461A
square
#162A46 #461642 #463216 #16461A
split-complementary
#162A46 #461A16 #424616
monochromatic
#070E17 #070E17 #162A46 #254675 #3362A3

Accessibility & contrast

On white

14.44
#162A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#162A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A46
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A46#FFFFFF#000000##FFFFFF
##162A461.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C47
Deuteranopia (green-blind)
#182745
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #162a46;
/* rgb */ color: rgb(22, 42, 70);
/* oklch */ color: oklch(28.4% 0.058 257.0);
Tailwind
colors: {
  custom: {
    50: '#596379',
    500: '#162a46',
    950: '#000000',
  },
}
SCSS
$custom: #162a46;
$custom-light: #596379;
$custom-dark: #000000;
JSON
{
  "hex": "#162a46",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 70
  },
  "hsl": {
    "h": 215,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28362,
    "c": 0.05804,
    "h": 257
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#162A46
secondary
#7D613A
accent
#A04CDC
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #162A46

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

Preview Lab → · Contrast checker → · Palette generator →

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