#161B4F#161B4F

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

Color values

HEX#161B4F
RGBrgb(22, 27, 79)
HSLhsl(235, 56%, 20%)
HSVhsv(235, 72%, 31%)
CMYKcmyk(72.2%, 65.8%, 0%, 69%)
CIE-LABlab(12.73, 17.22, -32.73)
CIE-LCHlch(12.73, 36.99, 297.75°)
OKLaboklab(25.45% 0.0057 -0.0943)
OKLCHoklch(25.45% 0.094 273.4)
XYZxyz(2.1336, 1.5188, 7.5763)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B4F #4F4A16
analogous
#16384F #161B4F #2E164F
triadic
#161B4F #4F161B #1B4F16
tetradic
#161B4F #4F1638 #4F4A16 #164F2E
square
#161B4F #4F1638 #4F4A16 #164F2E
split-complementary
#161B4F #4F2E16 #384F16
monochromatic
#070818 #090B1F #161B4F #232B7F #313CAF

Accessibility & contrast

On white

16.11
#161B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B4F
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B4F#FFFFFF#000000##FFFFFF
##161B4F1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#002832
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #161b4f;
/* rgb */ color: rgb(22, 27, 79);
/* oklch */ color: oklch(25.4% 0.094 273.4);
Tailwind
colors: {
  custom: {
    50: '#5c5781',
    500: '#161b4f',
    950: '#000000',
  },
}
SCSS
$custom: #161b4f;
$custom-light: #5c5781;
$custom-dark: #000000;
JSON
{
  "hex": "#161b4f",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 234.737,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25449,
    "c": 0.09446,
    "h": 273.4
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#161B4F
secondary
#86803A
accent
#D248E0
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #161B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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