#161C4C#161C4C

#161C4C is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.4% C 0.088 H 273.0°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#161C4C
RGBrgb(22, 28, 76)
HSLhsl(233, 55%, 19%)
HSVhsv(233, 71%, 30%)
CMYKcmyk(71.1%, 63.2%, 0%, 70.2%)
CIE-LABlab(12.75, 15.25, -30.63)
CIE-LCHlch(12.75, 34.22, 296.47°)
OKLaboklab(25.38% 0.0046 -0.0881)
OKLCHoklch(25.38% 0.088 273)
XYZxyz(2.0502, 1.5227, 7.0219)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C4C #4C4616
analogous
#16374C #161C4C #2B164C
triadic
#161C4C #4C161C #1C4C16
tetradic
#161C4C #4C1637 #4C4616 #164C2B
square
#161C4C #4C1637 #4C4616 #164C2B
split-complementary
#161C4C #4C2B16 #374C16
monochromatic
#070918 #080B1D #161C4C #242D7B #313FAB

Accessibility & contrast

On white

16.10
#161C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#161C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C4C
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C4C#FFFFFF#000000##FFFFFF
##161C4C1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#001F4B
Tritanopia (blue-blind)
#002830
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161c4c;
/* rgb */ color: rgb(22, 28, 76);
/* oklch */ color: oklch(25.4% 0.088 273.0);
Tailwind
colors: {
  custom: {
    50: '#5b577e',
    500: '#161c4c',
    950: '#000000',
  },
}
SCSS
$custom: #161c4c;
$custom-light: #5b577e;
$custom-dark: #000000;
JSON
{
  "hex": "#161c4c",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 76
  },
  "hsl": {
    "h": 233.333,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25383,
    "c": 0.08822,
    "h": 273
  },
  "luminance": 0.01523
}

Semantic roles & 50–950 ramp

primary
#161C4C
secondary
#847B3A
accent
#CE49DE
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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