#161C4E#161C4E

#161C4E is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.091 H 272.9°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#161C4E
RGBrgb(22, 28, 78)
HSLhsl(234, 56%, 20%)
HSVhsv(234, 72%, 31%)
CMYKcmyk(71.8%, 64.1%, 0%, 69.4%)
CIE-LABlab(12.93, 16.07, -31.72)
CIE-LCHlch(12.93, 35.56, 296.87°)
OKLaboklab(25.57% 0.0047 -0.0913)
OKLCHoklch(25.57% 0.091 272.9)
XYZxyz(2.1208, 1.5510, 7.3938)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C4E #4E4816
analogous
#16384E #161C4E #2C164E
triadic
#161C4E #4E161C #1C4E16
tetradic
#161C4E #4E1638 #4E4816 #164E2C
square
#161C4E #4E1638 #4E4816 #164E2C
split-complementary
#161C4E #4E2C16 #384E16
monochromatic
#070918 #090B1E #161C4E #232D7E #313EAD

Accessibility & contrast

On white

16.03
#161C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#161C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C4E
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C4E#FFFFFF#000000##FFFFFF
##161C4E1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#002831
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161c4e;
/* rgb */ color: rgb(22, 28, 78);
/* oklch */ color: oklch(25.6% 0.091 272.9);
Tailwind
colors: {
  custom: {
    50: '#5b5880',
    500: '#161c4e',
    950: '#000000',
  },
}
SCSS
$custom: #161c4e;
$custom-light: #5b5880;
$custom-dark: #000000;
JSON
{
  "hex": "#161c4e",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 233.571,
    "s": 56,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2557,
    "c": 0.09142,
    "h": 272.9
  },
  "luminance": 0.01551
}

Semantic roles & 50–950 ramp

primary
#161C4E
secondary
#857D3A
accent
#CF49DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161C4E

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

Preview Lab → · Contrast checker → · Palette generator →

#161C4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva