#162C5A#162C5A

#162C5A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.087 H 263.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#162C5A
RGBrgb(22, 44, 90)
HSLhsl(221, 61%, 22%)
HSVhsv(221, 76%, 35%)
CMYKcmyk(75.6%, 51.1%, 0%, 64.7%)
CIE-LABlab(18.84, 9.16, -30.26)
CIE-LCHlch(18.84, 31.62, 286.85°)
OKLaboklab(30.35% -0.0106 -0.0867)
OKLCHoklch(30.35% 0.087 263)
XYZxyz(3.0764, 2.7098, 10.0318)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162C5A #5A4416
analogous
#164E5A #162C5A #22165A
triadic
#162C5A #5A162C #2C5A16
tetradic
#162C5A #5A164E #5A4416 #165A22
square
#162C5A #5A164E #5A4416 #165A22
split-complementary
#162C5A #5A2216 #4E5A16
monochromatic
#060C19 #0A1429 #162C5A #22448B #2E5CBC

Accessibility & contrast

On white

13.62
#162C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#162C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162C5A
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162C5A#FFFFFF#000000##FFFFFF
##162C5A1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14315C
Deuteranopia (green-blind)
#042B59
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #162c5a;
/* rgb */ color: rgb(22, 44, 90);
/* oklch */ color: oklch(30.3% 0.087 263.0);
Tailwind
colors: {
  custom: {
    50: '#5d6489',
    500: '#162c5a',
    950: '#000000',
  },
}
SCSS
$custom: #162c5a;
$custom-light: #5d6489;
$custom-dark: #000000;
JSON
{
  "hex": "#162c5a",
  "rgb": {
    "r": 22,
    "g": 44,
    "b": 90
  },
  "hsl": {
    "h": 220.588,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30346,
    "c": 0.08739,
    "h": 263
  },
  "luminance": 0.0271
}

Semantic roles & 50–950 ramp

primary
#162C5A
secondary
#91753B
accent
#B044E4
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #162C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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