#161B6B#161B6B

#161B6B is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.135 H 271.3°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#161B6B
RGBrgb(22, 27, 107)
HSLhsl(236, 66%, 25%)
HSVhsv(236, 79%, 42%)
CMYKcmyk(79.4%, 74.8%, 0%, 58%)
CIE-LABlab(15.57, 28.28, -46.80)
CIE-LCHlch(15.57, 54.68, 301.15°)
OKLaboklab(28.39% 0.0031 -0.1355)
OKLCHoklch(28.39% 0.135 271.3)
XYZxyz(3.3758, 2.0156, 14.1182)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B6B #6B6616
analogous
#16456B #161B6B #3C166B
triadic
#161B6B #6B161B #1B6B16
tetradic
#161B6B #6B1645 #6B6616 #166B3C
square
#161B6B #6B1645 #6B6616 #166B3C
split-complementary
#161B6B #6B3C16 #456B16
monochromatic
#050619 #0C0E38 #161B6B #20289E #2B35D1

Accessibility & contrast

On white

14.97
#161B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#161B6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B6B
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B6B#FFFFFF#000000##FFFFFF
##161B6B1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#003141
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #161b6b;
/* rgb */ color: rgb(22, 27, 107);
/* oklch */ color: oklch(28.4% 0.135 271.3);
Tailwind
colors: {
  custom: {
    50: '#635896',
    500: '#161b6b',
    950: '#000000',
  },
}
SCSS
$custom: #161b6b;
$custom-light: #635896;
$custom-dark: #000000;
JSON
{
  "hex": "#161b6b",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 236.471,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28388,
    "c": 0.13549,
    "h": 271.3
  },
  "luminance": 0.02016
}

Semantic roles & 50–950 ramp

primary
#161B6B
secondary
#A19B3B
accent
#DF3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #161B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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