#161B8B#161B8B

#161B8B is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.177 H 269.2°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#161B8B
RGBrgb(22, 27, 139)
HSLhsl(237, 73%, 32%)
HSVhsv(237, 84%, 55%)
CMYKcmyk(84.2%, 80.6%, 0%, 45.5%)
CIE-LABlab(19.30, 39.84, -61.08)
CIE-LCHlch(19.30, 72.93, 303.11°)
OKLaboklab(32.13% -0.0024 -0.1769)
OKLCHoklch(32.13% 0.177 269.2)
XYZxyz(5.3814, 2.8179, 24.6814)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B8B #8B8616
analogous
#16568B #161B8B #4C168B
triadic
#161B8B #8B161B #1B8B16
tetradic
#161B8B #8B1656 #8B8616 #168B4C
square
#161B8B #8B1656 #8B8616 #168B4C
split-complementary
#161B8B #8B4C16 #568B16
monochromatic
#050621 #0E1156 #161B8B #1E25C0 #3B42E0

Accessibility & contrast

On white

13.43
#161B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#161B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B8B
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B8B#FFFFFF#000000##FFFFFF
##161B8B1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358E
Deuteranopia (green-blind)
#002989
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #161b8b;
/* rgb */ color: rgb(22, 27, 139);
/* oklch */ color: oklch(32.1% 0.177 269.2);
Tailwind
colors: {
  custom: {
    50: '#6c5aae',
    500: '#161b8b',
    950: '#000000',
  },
}
SCSS
$custom: #161b8b;
$custom-light: #6c5aae;
$custom-dark: #000000;
JSON
{
  "hex": "#161b8b",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 237.436,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32133,
    "c": 0.17697,
    "h": 269.2
  },
  "luminance": 0.02819
}

Semantic roles & 50–950 ramp

primary
#161B8B
secondary
#BFB93E
accent
#E838EF
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080410
muted
#7B797F

Preview Lab

Preview with #161B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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