#161B41#161B41

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

Color values

HEX#161B41
RGBrgb(22, 27, 65)
HSLhsl(233, 49%, 17%)
HSVhsv(233, 66%, 25%)
CMYKcmyk(66.2%, 58.5%, 0%, 74.5%)
CIE-LABlab(11.53, 11.51, -24.96)
CIE-LCHlch(11.53, 27.49, 294.76°)
OKLaboklab(24.17% 0.0052 -0.0714)
OKLCHoklch(24.17% 0.072 274.1)
XYZxyz(1.6766, 1.3360, 5.1695)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B41 #413C16
analogous
#163141 #161B41 #271641
triadic
#161B41 #41161B #1B4116
tetradic
#161B41 #411631 #413C16 #164127
square
#161B41 #411631 #413C16 #164127
split-complementary
#161B41 #412716 #314116
monochromatic
#080917 #080917 #161B41 #252E6F #35419C

Accessibility & contrast

On white

16.57
#161B41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#161B41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B41
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B41#FFFFFF#000000##FFFFFF
##161B411.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062042
Deuteranopia (green-blind)
#011D40
Tritanopia (blue-blind)
#00242B
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #161b41;
/* rgb */ color: rgb(22, 27, 65);
/* oklch */ color: oklch(24.2% 0.072 274.1);
Tailwind
colors: {
  custom: {
    50: '#585776',
    500: '#161b41',
    950: '#000000',
  },
}
SCSS
$custom: #161b41;
$custom-light: #585776;
$custom-dark: #000000;
JSON
{
  "hex": "#161b41",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 65
  },
  "hsl": {
    "h": 233.023,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.24171,
    "c": 0.07163,
    "h": 274.1
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#161B41
secondary
#78713A
accent
#C94FD9
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #161B41

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

Preview Lab → · Contrast checker → · Palette generator →

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