#162959#162959

#162959 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.090 H 265.1°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#162959
RGBrgb(22, 41, 89)
HSLhsl(223, 60%, 22%)
HSVhsv(223, 75%, 35%)
CMYKcmyk(75.3%, 53.9%, 0%, 65.1%)
CIE-LABlab(17.82, 10.95, -31.24)
CIE-LCHlch(17.82, 33.11, 289.32°)
OKLaboklab(29.54% -0.0077 -0.0897)
OKLCHoklch(29.54% 0.09 265.1)
XYZxyz(2.9264, 2.4774, 9.7732)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162959 #594616
analogous
#164B59 #162959 #251659
triadic
#162959 #591629 #295916
tetradic
#162959 #59164B #594616 #165925
square
#162959 #59164B #594616 #165925
split-complementary
#162959 #592516 #4B5916
monochromatic
#060B19 #0A1228 #162959 #22408A #2E56BB

Accessibility & contrast

On white

14.04
#162959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#162959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162959
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162959#FFFFFF#000000##FFFFFF
##1629591.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2F5B
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #162959;
/* rgb */ color: rgb(22, 41, 89);
/* oklch */ color: oklch(29.5% 0.090 265.1);
Tailwind
colors: {
  custom: {
    50: '#5d6288',
    500: '#162959',
    950: '#000000',
  },
}
SCSS
$custom: #162959;
$custom-light: #5d6288;
$custom-dark: #000000;
JSON
{
  "hex": "#162959",
  "rgb": {
    "r": 22,
    "g": 41,
    "b": 89
  },
  "hsl": {
    "h": 222.985,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29538,
    "c": 0.09002,
    "h": 265.1
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#162959
secondary
#90783B
accent
#B644E4
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #162959

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

Preview Lab → · Contrast checker → · Palette generator →

#162959 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva