#161B7A#161B7A

#161B7A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.156 H 270.2°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#161B7A
RGBrgb(22, 27, 122)
HSLhsl(237, 69%, 28%)
HSVhsv(237, 82%, 48%)
CMYKcmyk(82%, 77.9%, 0%, 52.2%)
CIE-LABlab(17.27, 33.85, -53.69)
CIE-LCHlch(17.27, 63.47, 302.23°)
OKLaboklab(30.11% 0.0006 -0.1555)
OKLCHoklch(30.11% 0.156 270.2)
XYZxyz(4.2345, 2.3591, 18.6408)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161B7A #7A7516
analogous
#164D7A #161B7A #43167A
triadic
#161B7A #7A161B #1B7A16
tetradic
#161B7A #7A164D #7A7516 #167A43
square
#161B7A #7A164D #7A7516 #167A43
split-complementary
#161B7A #7A4316 #4D7A16
monochromatic
#05061A #0D1046 #161B7A #1F26AE #3139DA

Accessibility & contrast

On white

14.27
#161B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#161B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161B7A
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161B7A#FFFFFF#000000##FFFFFF
##161B7A1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002578
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #161b7a;
/* rgb */ color: rgb(22, 27, 122);
/* oklch */ color: oklch(30.1% 0.156 270.2);
Tailwind
colors: {
  custom: {
    50: '#6758a2',
    500: '#161b7a',
    950: '#000000',
  },
}
SCSS
$custom: #161b7a;
$custom-light: #6758a2;
$custom-dark: #000000;
JSON
{
  "hex": "#161b7a",
  "rgb": {
    "r": 22,
    "g": 27,
    "b": 122
  },
  "hsl": {
    "h": 237,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30107,
    "c": 0.15551,
    "h": 270.2
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#161B7A
secondary
#AFA93D
accent
#E33CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #161B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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