#162E6A#162E6A

#162E6A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.109 H 264.5°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#162E6A
RGBrgb(22, 46, 106)
HSLhsl(223, 66%, 25%)
HSVhsv(223, 79%, 42%)
CMYKcmyk(79.2%, 56.6%, 0%, 58.4%)
CIE-LABlab(20.69, 14.43, -37.77)
CIE-LCHlch(20.69, 40.44, 290.90°)
OKLaboklab(32.15% -0.0104 -0.1088)
OKLCHoklch(32.15% 0.109 264.5)
XYZxyz(3.9085, 3.1647, 14.0377)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162E6A #6A5216
analogous
#16586A #162E6A #28166A
triadic
#162E6A #6A162E #2E6A16
tetradic
#162E6A #6A1658 #6A5216 #166A28
square
#162E6A #6A1658 #6A5216 #166A28
split-complementary
#162E6A #6A2816 #586A16
monochromatic
#050B19 #0B1837 #162E6A #21449D #2B5ACF

Accessibility & contrast

On white

12.86
#162E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #162E6A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162E6A#FFFFFF#000000##FFFFFF
##162E6A1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01366C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #162e6a;
/* rgb */ color: rgb(22, 46, 106);
/* oklch */ color: oklch(32.1% 0.109 264.5);
Tailwind
colors: {
  custom: {
    50: '#616695',
    500: '#162e6a',
    950: '#000000',
  },
}
SCSS
$custom: #162e6a;
$custom-light: #616695;
$custom-dark: #000000;
JSON
{
  "hex": "#162e6a",
  "rgb": {
    "r": 22,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 222.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32146,
    "c": 0.10931,
    "h": 264.5
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#162E6A
secondary
#A0843B
accent
#B83FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #162E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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