#162C6E#162C6E

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

Color values

HEX#162C6E
RGBrgb(22, 44, 110)
HSLhsl(225, 67%, 26%)
HSVhsv(225, 80%, 43%)
CMYKcmyk(80%, 60%, 0%, 56.9%)
CIE-LABlab(20.43, 17.54, -40.79)
CIE-LCHlch(20.43, 44.40, 293.27°)
OKLaboklab(32.05% -0.0085 -0.1177)
OKLCHoklch(32.05% 0.118 265.9)
XYZxyz(4.0450, 3.0973, 15.1335)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C6E #6E5816
analogous
#16586E #162C6E #2C166E
triadic
#162C6E #6E162C #2C6E16
tetradic
#162C6E #6E1658 #6E5816 #166E2C
square
#162C6E #6E1658 #6E5816 #166E2C
split-complementary
#162C6E #6E2C16 #586E16
monochromatic
#050A1A #0C183B #162C6E #2040A1 #2A55D4

Accessibility & contrast

On white

12.97
#162C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162C6E
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C6E#FFFFFF#000000##FFFFFF
##162C6E1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #162c6e;
/* rgb */ color: rgb(22, 44, 110);
/* oklch */ color: oklch(32.1% 0.118 265.9);
Tailwind
colors: {
  custom: {
    50: '#626498',
    500: '#162c6e',
    950: '#000000',
  },
}
SCSS
$custom: #162c6e;
$custom-light: #626498;
$custom-dark: #000000;
JSON
{
  "hex": "#162c6e",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 225,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32053,
    "c": 0.11802,
    "h": 265.9
  },
  "luminance": 0.03098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #162C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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