#162B77#162B77

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

Color values

HEX#162B77
RGBrgb(22, 43, 119)
HSLhsl(227, 69%, 28%)
HSVhsv(227, 82%, 47%)
CMYKcmyk(81.5%, 63.9%, 0%, 53.3%)
CIE-LABlab(20.94, 21.96, -45.74)
CIE-LCHlch(20.94, 50.74, 295.65°)
OKLaboklab(32.68% -0.0075 -0.1322)
OKLCHoklch(32.68% 0.132 266.7)
XYZxyz(4.5234, 3.2297, 17.8342)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B77 #776216
analogous
#165C77 #162B77 #311677
triadic
#162B77 #77162B #2B7716
tetradic
#162B77 #77165C #776216 #167731
square
#162B77 #77165C #776216 #167731
split-complementary
#162B77 #773116 #5C7716
monochromatic
#05091A #0C1843 #162B77 #203EAB #2F54D9

Accessibility & contrast

On white

12.76
#162B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#162B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B77
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B77#FFFFFF#000000##FFFFFF
##162B771.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162b77;
/* rgb */ color: rgb(22, 43, 119);
/* oklch */ color: oklch(32.7% 0.132 266.7);
Tailwind
colors: {
  custom: {
    50: '#65649f',
    500: '#162b77',
    950: '#000000',
  },
}
SCSS
$custom: #162b77;
$custom-light: #65649f;
$custom-dark: #000000;
JSON
{
  "hex": "#162b77",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 227.01,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32683,
    "c": 0.13246,
    "h": 266.7
  },
  "luminance": 0.0323
}

Semantic roles & 50–950 ramp

primary
#162B77
secondary
#AC943C
accent
#C63CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050F
muted
#7A797E

Preview Lab

Preview with #162B77

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

Preview Lab → · Contrast checker → · Palette generator →

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