#162C5E#162C5E

#162C5E is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.094 H 263.9°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#162C5E
RGBrgb(22, 44, 94)
HSLhsl(222, 62%, 23%)
HSVhsv(222, 77%, 37%)
CMYKcmyk(76.6%, 53.2%, 0%, 63.1%)
CIE-LABlab(19.14, 10.85, -32.43)
CIE-LCHlch(19.14, 34.20, 288.49°)
OKLaboklab(30.67% -0.01 -0.0931)
OKLCHoklch(30.67% 0.094 263.9)
XYZxyz(3.2512, 2.7797, 10.9527)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C5E #5E4816
analogous
#16505E #162C5E #24165E
triadic
#162C5E #5E162C #2C5E16
tetradic
#162C5E #5E1650 #5E4816 #165E24
square
#162C5E #5E1650 #5E4816 #165E24
split-complementary
#162C5E #5E2416 #505E16
monochromatic
#060C19 #0A152C #162C5E #224390 #2D5AC1

Accessibility & contrast

On white

13.50
#162C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#162C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C5E
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C5E#FFFFFF#000000##FFFFFF
##162C5E1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3260
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162c5e;
/* rgb */ color: rgb(22, 44, 94);
/* oklch */ color: oklch(30.7% 0.094 263.9);
Tailwind
colors: {
  custom: {
    50: '#5e648c',
    500: '#162c5e',
    950: '#000000',
  },
}
SCSS
$custom: #162c5e;
$custom-light: #5e648c;
$custom-dark: #000000;
JSON
{
  "hex": "#162c5e",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 221.667,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30668,
    "c": 0.09367,
    "h": 263.9
  },
  "luminance": 0.0278
}

Semantic roles & 50–950 ramp

primary
#162C5E
secondary
#95793B
accent
#B343E5
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #162C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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