#162C72#162C72

#162C72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.124 H 266.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#162C72
RGBrgb(22, 44, 114)
HSLhsl(226, 68%, 27%)
HSVhsv(226, 81%, 45%)
CMYKcmyk(80.7%, 61.4%, 0%, 55.3%)
CIE-LABlab(20.78, 19.20, -42.80)
CIE-LCHlch(20.78, 46.91, 294.16°)
OKLaboklab(32.42% -0.0083 -0.1236)
OKLCHoklch(32.42% 0.124 266.2)
XYZxyz(4.2678, 3.1864, 16.3064)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C72 #725C16
analogous
#165A72 #162C72 #2E1672
triadic
#162C72 #72162C #2C7216
tetradic
#162C72 #72165A #725C16 #16722E
square
#162C72 #72165A #725C16 #16722E
split-complementary
#162C72 #722E16 #5A7216
monochromatic
#050A1A #0C183F #162C72 #2040A5 #2C55D6

Accessibility & contrast

On white

12.83
#162C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#162C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C72
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C72#FFFFFF#000000##FFFFFF
##162C721.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162c72;
/* rgb */ color: rgb(22, 44, 114);
/* oklch */ color: oklch(32.4% 0.124 266.2);
Tailwind
colors: {
  custom: {
    50: '#63649b',
    500: '#162c72',
    950: '#000000',
  },
}
SCSS
$custom: #162c72;
$custom-light: #63649b;
$custom-dark: #000000;
JSON
{
  "hex": "#162c72",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 114
  },
  "hsl": {
    "h": 225.652,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3242,
    "c": 0.12391,
    "h": 266.2
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#162C72
secondary
#A88E3C
accent
#C13DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162C72

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

Preview Lab → · Contrast checker → · Palette generator →

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