#162B76#162B76

#162B76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.131 H 266.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#162B76
RGBrgb(22, 43, 118)
HSLhsl(227, 69%, 27%)
HSVhsv(227, 81%, 46%)
CMYKcmyk(81.4%, 63.6%, 0%, 53.7%)
CIE-LABlab(20.85, 21.56, -45.25)
CIE-LCHlch(20.85, 50.12, 295.47°)
OKLaboklab(32.59% -0.0075 -0.1308)
OKLCHoklch(32.59% 0.131 266.7)
XYZxyz(4.4636, 3.2058, 17.5196)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B76 #766116
analogous
#165B76 #162B76 #311676
triadic
#162B76 #76162B #2B7616
tetradic
#162B76 #76165B #766116 #167631
square
#162B76 #76165B #766116 #167631
split-complementary
#162B76 #763116 #5B7616
monochromatic
#05091A #0C1842 #162B76 #203EAA #2E53D8

Accessibility & contrast

On white

12.80
#162B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162B76
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B76#FFFFFF#000000##FFFFFF
##162B761.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162b76;
/* rgb */ color: rgb(22, 43, 118);
/* oklch */ color: oklch(32.6% 0.131 266.7);
Tailwind
colors: {
  custom: {
    50: '#65649e',
    500: '#162b76',
    950: '#000000',
  },
}
SCSS
$custom: #162b76;
$custom-light: #65649e;
$custom-dark: #000000;
JSON
{
  "hex": "#162b76",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 226.875,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32587,
    "c": 0.13103,
    "h": 266.7
  },
  "luminance": 0.03206
}

Semantic roles & 50–950 ramp

primary
#162B76
secondary
#AC933C
accent
#C53CEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162B76

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

Preview Lab → · Contrast checker → · Palette generator →

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