#162D6E#162D6E

#162D6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.117 H 265.5°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#162D6E
RGBrgb(22, 45, 110)
HSLhsl(224, 67%, 26%)
HSVhsv(224, 80%, 43%)
CMYKcmyk(80%, 59.1%, 0%, 56.9%)
CIE-LABlab(20.72, 16.82, -40.31)
CIE-LCHlch(20.72, 43.68, 292.65°)
OKLaboklab(32.27% -0.0092 -0.1163)
OKLCHoklch(32.27% 0.117 265.5)
XYZxyz(4.0827, 3.1727, 15.1460)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162D6E #6E5716
analogous
#16596E #162D6E #2B166E
triadic
#162D6E #6E162D #2D6E16
tetradic
#162D6E #6E1659 #6E5716 #166E2B
square
#162D6E #6E1659 #6E5716 #166E2B
split-complementary
#162D6E #6E2B16 #596E16
monochromatic
#050A1A #0C183B #162D6E #2042A1 #2A57D4

Accessibility & contrast

On white

12.85
#162D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#162D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162D6E
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162D6E#FFFFFF#000000##FFFFFF
##162D6E1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162d6e;
/* rgb */ color: rgb(22, 45, 110);
/* oklch */ color: oklch(32.3% 0.117 265.5);
Tailwind
colors: {
  custom: {
    50: '#626598',
    500: '#162d6e',
    950: '#000000',
  },
}
SCSS
$custom: #162d6e;
$custom-light: #626598;
$custom-dark: #000000;
JSON
{
  "hex": "#162d6e",
  "rgb": {
    "r": 22,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 224.318,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32273,
    "c": 0.11667,
    "h": 265.5
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#162D6E
secondary
#A4893C
accent
#BD3EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #162D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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