#161B46#161B46

#161B46 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.080 H 274.0°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#161B46
RGBrgb(22, 27, 70)
HSLhsl(234, 52%, 18%)
HSVhsv(234, 69%, 27%)
CMYKcmyk(68.6%, 61.4%, 0%, 72.5%)
CIE-LABlab(11.93, 13.55, -27.80)
CIE-LCHlch(11.93, 30.93, 295.99°)
OKLaboklab(24.61% 0.0055 -0.0798)
OKLCHoklch(24.61% 0.08 274)
XYZxyz(1.8279, 1.3965, 5.9664)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B46 #464116
analogous
#163346 #161B46 #291646
triadic
#161B46 #46161B #1B4616
tetradic
#161B46 #461633 #464116 #164629
square
#161B46 #461633 #464116 #164629
split-complementary
#161B46 #462916 #334616
monochromatic
#070917 #070917 #161B46 #252D75 #333FA3

Accessibility & contrast

On white

16.41
#161B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#161B46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B46
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B46#FFFFFF#000000##FFFFFF
##161B461.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012247
Deuteranopia (green-blind)
#001D45
Tritanopia (blue-blind)
#00252D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161b46;
/* rgb */ color: rgb(22, 27, 70);
/* oklch */ color: oklch(24.6% 0.080 274.0);
Tailwind
colors: {
  custom: {
    50: '#59577a',
    500: '#161b46',
    950: '#000000',
  },
}
SCSS
$custom: #161b46;
$custom-light: #59577a;
$custom-dark: #000000;
JSON
{
  "hex": "#161b46",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 70
  },
  "hsl": {
    "h": 233.75,
    "s": 52.174,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24609,
    "c": 0.07998,
    "h": 274
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

primary
#161B46
secondary
#7D763A
accent
#CD4CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161B46

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

Preview Lab → · Contrast checker → · Palette generator →

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