#161B43#161B43

#161B43 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.075 H 274.1°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#161B43
RGBrgb(22, 27, 67)
HSLhsl(233, 51%, 17%)
HSVhsv(233, 67%, 26%)
CMYKcmyk(67.2%, 59.7%, 0%, 73.7%)
CIE-LABlab(11.69, 12.33, -26.11)
CIE-LCHlch(11.69, 28.87, 295.28°)
OKLaboklab(24.34% 0.0053 -0.0748)
OKLCHoklch(24.34% 0.075 274.1)
XYZxyz(1.7356, 1.3596, 5.4801)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B43 #433E16
analogous
#163243 #161B43 #271643
triadic
#161B43 #43161B #1B4316
tetradic
#161B43 #431632 #433E16 #164327
square
#161B43 #431632 #433E16 #164327
split-complementary
#161B43 #432716 #324316
monochromatic
#080917 #080917 #161B43 #252E71 #34409F

Accessibility & contrast

On white

16.51
#161B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#161B43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B43
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B43#FFFFFF#000000##FFFFFF
##161B431.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042144
Deuteranopia (green-blind)
#001D42
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161b43;
/* rgb */ color: rgb(22, 27, 67);
/* oklch */ color: oklch(24.3% 0.075 274.1);
Tailwind
colors: {
  custom: {
    50: '#595777',
    500: '#161b43',
    950: '#000000',
  },
}
SCSS
$custom: #161b43;
$custom-light: #595777;
$custom-dark: #000000;
JSON
{
  "hex": "#161b43",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 67
  },
  "hsl": {
    "h": 233.333,
    "s": 50.562,
    "l": 17.451
  },
  "oklch": {
    "l": 0.24344,
    "c": 0.075,
    "h": 274.1
  },
  "luminance": 0.0136
}

Semantic roles & 50–950 ramp

primary
#161B43
secondary
#7A733A
accent
#CA4EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161B43

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

Preview Lab → · Contrast checker → · Palette generator →

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