#161B45#161B45

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

Color values

HEX#161B45
RGBrgb(22, 27, 69)
HSLhsl(234, 52%, 18%)
HSVhsv(234, 68%, 27%)
CMYKcmyk(68.1%, 60.9%, 0%, 72.9%)
CIE-LABlab(11.85, 13.14, -27.24)
CIE-LCHlch(11.85, 30.25, 295.76°)
OKLaboklab(24.52% 0.0055 -0.0781)
OKLCHoklch(24.52% 0.078 274)
XYZxyz(1.7966, 1.3840, 5.8015)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B45 #454016
analogous
#163245 #161B45 #281645
triadic
#161B45 #45161B #1B4516
tetradic
#161B45 #451632 #454016 #164528
square
#161B45 #451632 #454016 #164528
split-complementary
#161B45 #452816 #324516
monochromatic
#070917 #070917 #161B45 #252D73 #343FA2

Accessibility & contrast

On white

16.45
#161B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B45
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B45#FFFFFF#000000##FFFFFF
##161B451.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022146
Deuteranopia (green-blind)
#001D44
Tritanopia (blue-blind)
#00252C
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161b45;
/* rgb */ color: rgb(22, 27, 69);
/* oklch */ color: oklch(24.5% 0.078 274.0);
Tailwind
colors: {
  custom: {
    50: '#595779',
    500: '#161b45',
    950: '#000000',
  },
}
SCSS
$custom: #161b45;
$custom-light: #595779;
$custom-dark: #000000;
JSON
{
  "hex": "#161b45",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 69
  },
  "hsl": {
    "h": 233.617,
    "s": 51.648,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2452,
    "c": 0.07833,
    "h": 274
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#161B45
secondary
#7C753A
accent
#CC4DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040309
muted
#79787B

Preview Lab

Preview with #161B45

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

Preview Lab → · Contrast checker → · Palette generator →

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