#161B40#161B40

#161B40 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.070 H 274.1°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#161B40
RGBrgb(22, 27, 64)
HSLhsl(233, 49%, 17%)
HSVhsv(233, 66%, 25%)
CMYKcmyk(65.6%, 57.8%, 0%, 74.9%)
CIE-LABlab(11.45, 11.11, -24.39)
CIE-LCHlch(11.45, 26.80, 294.49°)
OKLaboklab(24.09% 0.0051 -0.0697)
OKLCHoklch(24.09% 0.07 274.1)
XYZxyz(1.6479, 1.3245, 5.0183)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B40 #403B16
analogous
#163040 #161B40 #261640
triadic
#161B40 #40161B #1B4016
tetradic
#161B40 #401630 #403B16 #164026
square
#161B40 #401630 #403B16 #164026
split-complementary
#161B40 #402616 #304016
monochromatic
#080A17 #080A17 #161B40 #262E6E #35419B

Accessibility & contrast

On white

16.60
#161B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #161B40
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B40#FFFFFF#000000##FFFFFF
##161B401.0016.601.2616.60
#FFFFFF16.601.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072041
Deuteranopia (green-blind)
#021D3F
Tritanopia (blue-blind)
#00232A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #161b40;
/* rgb */ color: rgb(22, 27, 64);
/* oklch */ color: oklch(24.1% 0.070 274.1);
Tailwind
colors: {
  custom: {
    50: '#585775',
    500: '#161b40',
    950: '#000000',
  },
}
SCSS
$custom: #161b40;
$custom-light: #585775;
$custom-dark: #000000;
JSON
{
  "hex": "#161b40",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 64
  },
  "hsl": {
    "h": 232.857,
    "s": 48.837,
    "l": 16.863
  },
  "oklch": {
    "l": 0.24086,
    "c": 0.06992,
    "h": 274.1
  },
  "luminance": 0.01325
}

Semantic roles & 50–950 ramp

primary
#161B40
secondary
#77703B
accent
#C84FD8
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161B40

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

Preview Lab → · Contrast checker → · Palette generator →

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