#162B72#162B72

#162B72 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.125 H 266.5°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#162B72
RGBrgb(22, 43, 114)
HSLhsl(226, 68%, 27%)
HSVhsv(226, 81%, 45%)
CMYKcmyk(80.7%, 62.3%, 0%, 55.3%)
CIE-LABlab(20.49, 19.92, -43.27)
CIE-LCHlch(20.49, 47.63, 294.72°)
OKLaboklab(32.21% -0.0076 -0.125)
OKLCHoklch(32.21% 0.125 266.5)
XYZxyz(4.2310, 3.1128, 16.2942)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162B72 #725D16
analogous
#165972 #162B72 #2F1672
triadic
#162B72 #72162B #2B7216
tetradic
#162B72 #721659 #725D16 #16722F
square
#162B72 #721659 #725D16 #16722F
split-complementary
#162B72 #722F16 #597216
monochromatic
#050A1A #0C183F #162B72 #203EA5 #2C53D6

Accessibility & contrast

On white

12.94
#162B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#162B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162B72
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162B72#FFFFFF#000000##FFFFFF
##162B721.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162b72;
/* rgb */ color: rgb(22, 43, 114);
/* oklch */ color: oklch(32.2% 0.125 266.5);
Tailwind
colors: {
  custom: {
    50: '#64649b',
    500: '#162b72',
    950: '#000000',
  },
}
SCSS
$custom: #162b72;
$custom-light: #64649b;
$custom-dark: #000000;
JSON
{
  "hex": "#162b72",
  "rgb": {
    "r": 22,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 226.304,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32207,
    "c": 0.12524,
    "h": 266.5
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#162B72
secondary
#A88F3C
accent
#C33DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162B72

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

Preview Lab → · Contrast checker → · Palette generator →

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