#162C6F#162C6F

#162C6F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.119 H 266.0°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#162C6F
RGBrgb(22, 44, 111)
HSLhsl(225, 67%, 26%)
HSVhsv(225, 80%, 44%)
CMYKcmyk(80.2%, 60.4%, 0%, 56.5%)
CIE-LABlab(20.52, 17.96, -41.30)
CIE-LCHlch(20.52, 45.03, 293.50°)
OKLaboklab(32.14% -0.0084 -0.1192)
OKLCHoklch(32.14% 0.12 266)
XYZxyz(4.0998, 3.1192, 15.4218)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C6F #6F5916
analogous
#16586F #162C6F #2D166F
triadic
#162C6F #6F162C #2C6F16
tetradic
#162C6F #6F1658 #6F5916 #166F2D
square
#162C6F #6F1658 #6F5916 #166F2D
split-complementary
#162C6F #6F2D16 #586F16
monochromatic
#050A1A #0C183C #162C6F #2040A2 #2B55D5

Accessibility & contrast

On white

12.93
#162C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C6F
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C6F#FFFFFF#000000##FFFFFF
##162C6F1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162c6f;
/* rgb */ color: rgb(22, 44, 111);
/* oklch */ color: oklch(32.1% 0.119 266.0);
Tailwind
colors: {
  custom: {
    50: '#636499',
    500: '#162c6f',
    950: '#000000',
  },
}
SCSS
$custom: #162c6f;
$custom-light: #636499;
$custom-dark: #000000;
JSON
{
  "hex": "#162c6f",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 225.169,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32144,
    "c": 0.1195,
    "h": 266
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#162C6F
secondary
#A58B3C
accent
#BF3EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #162C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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