#161C4F#161C4F

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

Color values

HEX#161C4F
RGBrgb(22, 28, 79)
HSLhsl(234, 56%, 20%)
HSVhsv(234, 72%, 31%)
CMYKcmyk(72.2%, 64.6%, 0%, 69%)
CIE-LABlab(13.02, 16.48, -32.26)
CIE-LCHlch(13.02, 36.22, 297.06°)
OKLaboklab(25.66% 0.0047 -0.0929)
OKLCHoklch(25.66% 0.093 272.9)
XYZxyz(2.1569, 1.5654, 7.5841)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C4F #4F4916
analogous
#16394F #161C4F #2C164F
triadic
#161C4F #4F161C #1C4F16
tetradic
#161C4F #4F1639 #4F4916 #164F2C
square
#161C4F #4F1639 #4F4916 #164F2C
split-complementary
#161C4F #4F2C16 #394F16
monochromatic
#070818 #090B1F #161C4F #232D7F #313EAF

Accessibility & contrast

On white

15.99
#161C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161C4F
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C4F#FFFFFF#000000##FFFFFF
##161C4F1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#002932
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #161c4f;
/* rgb */ color: rgb(22, 28, 79);
/* oklch */ color: oklch(25.7% 0.093 272.9);
Tailwind
colors: {
  custom: {
    50: '#5b5881',
    500: '#161c4f',
    950: '#000000',
  },
}
SCSS
$custom: #161c4f;
$custom-light: #5b5881;
$custom-dark: #000000;
JSON
{
  "hex": "#161c4f",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 233.684,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25664,
    "c": 0.093,
    "h": 272.9
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#161C4F
secondary
#867E3A
accent
#D048E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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