#162C5B#162C5B

#162C5B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.089 H 263.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#162C5B
RGBrgb(22, 44, 91)
HSLhsl(221, 61%, 22%)
HSVhsv(221, 76%, 36%)
CMYKcmyk(75.8%, 51.6%, 0%, 64.3%)
CIE-LABlab(18.92, 9.58, -30.80)
CIE-LCHlch(18.92, 32.26, 287.28°)
OKLaboklab(30.43% -0.0105 -0.0883)
OKLCHoklch(30.43% 0.089 263.2)
XYZxyz(3.1192, 2.7269, 10.2575)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C5B #5B4516
analogous
#164F5B #162C5B #23165B
triadic
#162C5B #5B162C #2C5B16
tetradic
#162C5B #5B164F #5B4516 #165B23
square
#162C5B #5B164F #5B4516 #165B23
split-complementary
#162C5B #5B2316 #4F5B16
monochromatic
#060C19 #0A142A #162C5B #22448C #2E5CBE

Accessibility & contrast

On white

13.59
#162C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#162C5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C5B
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C5B#FFFFFF#000000##FFFFFF
##162C5B1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13315D
Deuteranopia (green-blind)
#032B5A
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162c5b;
/* rgb */ color: rgb(22, 44, 91);
/* oklch */ color: oklch(30.4% 0.089 263.2);
Tailwind
colors: {
  custom: {
    50: '#5d648a',
    500: '#162c5b',
    950: '#000000',
  },
}
SCSS
$custom: #162c5b;
$custom-light: #5d648a;
$custom-dark: #000000;
JSON
{
  "hex": "#162c5b",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 91
  },
  "hsl": {
    "h": 220.87,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30425,
    "c": 0.08896,
    "h": 263.2
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#162C5B
secondary
#92763B
accent
#B144E4
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #162C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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