#162F6A#162F6A

#162F6A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.108 H 264.0°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#162F6A
RGBrgb(22, 47, 106)
HSLhsl(222, 66%, 25%)
HSVhsv(222, 79%, 42%)
CMYKcmyk(79.2%, 55.7%, 0%, 58.4%)
CIE-LABlab(21.00, 13.70, -37.28)
CIE-LCHlch(21.00, 39.72, 290.18°)
OKLaboklab(32.38% -0.0113 -0.1073)
OKLCHoklch(32.38% 0.108 264)
XYZxyz(3.9480, 3.2438, 14.0509)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F6A #6A5116
analogous
#16596A #162F6A #27166A
triadic
#162F6A #6A162F #2F6A16
tetradic
#162F6A #6A1659 #6A5116 #166A27
square
#162F6A #6A1659 #6A5116 #166A27
split-complementary
#162F6A #6A2716 #596A16
monochromatic
#050B19 #0B1937 #162F6A #21459D #2B5CCF

Accessibility & contrast

On white

12.74
#162F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#162F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F6A
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F6A#FFFFFF#000000##FFFFFF
##162F6A1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #162f6a;
/* rgb */ color: rgb(22, 47, 106);
/* oklch */ color: oklch(32.4% 0.108 264.0);
Tailwind
colors: {
  custom: {
    50: '#616795',
    500: '#162f6a',
    950: '#000000',
  },
}
SCSS
$custom: #162f6a;
$custom-light: #616795;
$custom-dark: #000000;
JSON
{
  "hex": "#162f6a",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 222.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32376,
    "c": 0.10794,
    "h": 264
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#162F6A
secondary
#A0823B
accent
#B63FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #162F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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