#161B3F#161B3F

#161B3F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.068 H 274.2°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#161B3F
RGBrgb(22, 27, 63)
HSLhsl(233, 48%, 17%)
HSVhsv(233, 65%, 25%)
CMYKcmyk(65.1%, 57.1%, 0%, 75.3%)
CIE-LABlab(11.37, 10.70, -23.81)
CIE-LCHlch(11.37, 26.10, 294.21°)
OKLaboklab(24% 0.0049 -0.068)
OKLCHoklch(24% 0.068 274.2)
XYZxyz(1.6197, 1.3132, 4.8698)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B3F #3F3A16
analogous
#16303F #161B3F #26163F
triadic
#161B3F #3F161B #1B3F16
tetradic
#161B3F #3F1630 #3F3A16 #163F26
square
#161B3F #3F1630 #3F3A16 #163F26
split-complementary
#161B3F #3F2616 #303F16
monochromatic
#080A17 #080A17 #161B3F #262E6C #36429A

Accessibility & contrast

On white

16.63
#161B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#161B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B3F
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B3F#FFFFFF#000000##FFFFFF
##161B3F1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082040
Deuteranopia (green-blind)
#031D3E
Tritanopia (blue-blind)
#01232A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161b3f;
/* rgb */ color: rgb(22, 27, 63);
/* oklch */ color: oklch(24.0% 0.068 274.2);
Tailwind
colors: {
  custom: {
    50: '#585774',
    500: '#161b3f',
    950: '#000000',
  },
}
SCSS
$custom: #161b3f;
$custom-light: #585774;
$custom-dark: #000000;
JSON
{
  "hex": "#161b3f",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 232.683,
    "s": 48.235,
    "l": 16.667
  },
  "oklch": {
    "l": 0.24002,
    "c": 0.06822,
    "h": 274.2
  },
  "luminance": 0.01313
}

Semantic roles & 50–950 ramp

primary
#161B3F
secondary
#766F3B
accent
#C750D8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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