#162C6A#162C6A

#162C6A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.112 H 265.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#162C6A
RGBrgb(22, 44, 106)
HSLhsl(224, 66%, 25%)
HSVhsv(224, 79%, 42%)
CMYKcmyk(79.2%, 58.5%, 0%, 58.4%)
CIE-LABlab(20.09, 15.88, -38.75)
CIE-LCHlch(20.09, 41.87, 292.29°)
OKLaboklab(31.69% -0.0087 -0.1117)
OKLCHoklch(31.69% 0.112 265.5)
XYZxyz(3.8322, 3.0121, 14.0123)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C6A #6A5416
analogous
#16566A #162C6A #2A166A
triadic
#162C6A #6A162C #2C6A16
tetradic
#162C6A #6A1656 #6A5416 #166A2A
square
#162C6A #6A1656 #6A5416 #166A2A
split-complementary
#162C6A #6A2A16 #566A16
monochromatic
#050B19 #0B1737 #162C6A #21419D #2B56CF

Accessibility & contrast

On white

13.10
#162C6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#162C6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C6A
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C6A#FFFFFF#000000##FFFFFF
##162C6A1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#003B46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #162c6a;
/* rgb */ color: rgb(22, 44, 106);
/* oklch */ color: oklch(31.7% 0.112 265.5);
Tailwind
colors: {
  custom: {
    50: '#616495',
    500: '#162c6a',
    950: '#000000',
  },
}
SCSS
$custom: #162c6a;
$custom-light: #616495;
$custom-dark: #000000;
JSON
{
  "hex": "#162c6a",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 224.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31693,
    "c": 0.11205,
    "h": 265.5
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#162C6A
secondary
#A0863B
accent
#BC3FE9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #162C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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