#161C48#161C48

#161C48 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.082 H 273.1°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#161C48
RGBrgb(22, 28, 72)
HSLhsl(233, 53%, 18%)
HSVhsv(233, 69%, 28%)
CMYKcmyk(69.4%, 61.1%, 0%, 71.8%)
CIE-LABlab(12.41, 13.61, -28.43)
CIE-LCHlch(12.41, 31.52, 295.59°)
OKLaboklab(25.02% 0.0045 -0.0816)
OKLCHoklch(25.02% 0.082 273.1)
XYZxyz(1.9154, 1.4688, 6.3122)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161C48 #484216
analogous
#163548 #161C48 #291648
triadic
#161C48 #48161C #1C4816
tetradic
#161C48 #481635 #484216 #164829
square
#161C48 #481635 #484216 #164829
split-complementary
#161C48 #482916 #354816
monochromatic
#070917 #080A19 #161C48 #242E77 #3340A6

Accessibility & contrast

On white

16.23
#161C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#161C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161C48
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161C48#FFFFFF#000000##FFFFFF
##161C481.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01234A
Deuteranopia (green-blind)
#001E47
Tritanopia (blue-blind)
#00262E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #161c48;
/* rgb */ color: rgb(22, 28, 72);
/* oklch */ color: oklch(25.0% 0.082 273.1);
Tailwind
colors: {
  custom: {
    50: '#5a577b',
    500: '#161c48',
    950: '#000000',
  },
}
SCSS
$custom: #161c48;
$custom-light: #5a577b;
$custom-dark: #000000;
JSON
{
  "hex": "#161c48",
  "rgb": {
    "r": 22,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 232.8,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.25017,
    "c": 0.08173,
    "h": 273.1
  },
  "luminance": 0.01469
}

Semantic roles & 50–950 ramp

primary
#161C48
secondary
#7F773A
accent
#CB4BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040309
muted
#79787B

Preview Lab

Preview with #161C48

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

Preview Lab → · Contrast checker → · Palette generator →

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